Skip to main content

Debian linux enable ssh service permanantly

 root@VM:~# systemctl status ssh

● ssh.service - OpenBSD Secure Shell server

   Loaded: loaded (/lib/systemd/system/ssh.service; disabled; vendor preset: enabled)

   Active: active (running) since Wed 2021-10-13 23:41:35 UTC; 10min ago

     Docs: man:sshd(8)

           man:sshd_config(5)

  Process: 4671 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)

 Main PID: 4672 (sshd)

    Tasks: 5 (limit: 4915)

   Memory: 45.6M

   CGroup: /system.slice/ssh.service

           ├─4672 /usr/sbin/sshd -D

           ├─4682 sshd: root@pts/0

           ├─4697 -bash

           ├─7082 systemctl status ssh

           └─7083 pager


Oct 13 23:41:35 SCV031290C74 systemd[1]: Starting OpenBSD Secure Shell server...

Oct 13 23:41:35 SCV031290C74 sshd[4672]: Server listening on 0.0.0.0 port 22.

Oct 13 23:41:35 SCV031290C74 sshd[4672]: Server listening on :: port 22.

Oct 13 23:41:35 SCV031290C74 systemd[1]: Started OpenBSD Secure Shell server.

Oct 13 23:41:48 SCV031290C74 sshd[4682]: Accepted keyboard-interactive/pam for root from 10.74.13.56 port 56080 ssh2

Oct 13 23:41:48 SCV031290C74 sshd[4682]: pam_unix(sshd:session): session opened for user root by (uid=0)

root@VM1:~# systemctl enable ssh


Comments

Popular posts from this blog

Deploy OVF fails Issues detected with selected template. Details: VALUE_ILLEGAL: No supported hardware versions among [virtualbox-2.2]; supported: [vmx-04, vmx-07, vmx-08, vmx-09, vmx-10, vmx-11, vmx-12, vmx-13, vmx-14, vmx-15, vmx-16, vmx-17, vmx-18, vmx-19].

 Error: While deploy using OVF file ,getting error as : Issues detected with selected template. Details: - -1:-1:VALUE_ILLEGAL: No supported hardware versions among [virtualbox-2.2]; supported: [vmx-04, vmx-07, vmx-08, vmx-09, vmx-10, vmx-11, vmx-12, vmx-13, vmx-14, vmx-15, vmx-16, vmx-17, vmx-18, vmx-19]. Solution: Open .OVF file and edit       <Info>Virtual hardware requirements for a virtual machine</Info>       <System>         <vssd:ElementName>Virtual Hardware Family</vssd:ElementName>         <vssd:InstanceID>0</vssd:InstanceID>         <vssd:VirtualSystemIdentifier>zabbix_appliance-6.2.7</vssd:VirtualSystemIdentifier>         <vssd:VirtualSystemType> virtualbox-2.2 </vssd:VirtualSystemType>       </System> to  vmx-19       <Info>Virtual hardware requireme...

vSphere HA agent for this host has an error: The vSphere HA agent is not reachable from vCenter Server |Vsphere HA status error | vCenter server 7.0

When you enable Vcenter HA on vsphere7.0 esxi cluster if you see any of the below error: vSphere HA agent for this host has an error: The vSphere HA agent is not reachable from vCenter Server Vsphere HA status error vSphere HA agent cannot be installed or configured  Solution: -Download latest Vmware tools VIB package from:   https://my.vmware.com/group/vmware/downloads/details?downloadGroup=VMTOOLS1125&productId=974&rPId=58693 -winscp to ESXi host the zip file of VIB. -Install the package:  esxcli software vib install -d  "/tmp/VMware-Tools-11.2.5-core-offline-depot-ESXi-all-17337674.zip" -Reboot the Esxi. -Right click on the esxi to do "Reconfigure vSphere HA"