Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rgo@ATLAS:~$ sudo netstat -lntp | grep :54747
- rgo@ATLAS:~$ sudo netstat -lntp | grep :22
- tcp6 0 0 :::22 :::* LISTEN 1/init
- ● ssh.service - OpenBSD Secure Shell server
- Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
- Active: inactive (dead)
- systemd 1 root 46u IPv6 42724 0t0 TCP ATLAS:ssh->192.168.1.27:49837 (ESTABLISHED)
- systemd 1 root 49u IPv6 14641 0t0 TCP *:ssh (LISTEN)
- sshd 4088 root 3u IPv6 42724 0t0 TCP ATLAS:ssh->192.168.1.27:49837 (ESTABLISHED)
- sshd 4088 root 4u IPv6 42724 0t0 TCP ATLAS:ssh->192.168.1.27:49837 (ESTABLISHED)
- sshd 4202 rgo 3u IPv6 42724 0t0 TCP ATLAS:ssh->192.168.1.27:49837 (ESTABLISHED)
- sshd 4202 rgo 4u IPv6 42724 0t0 TCP ATLAS:ssh->192.168.1.27:49837 (ESTABLISHED)
- Status: inactive
- root 4088 1 0 22:40 ? 00:00:00 sshd: rgo [priv]
- rgo 4202 4088 0 22:40 ? 00:00:00 sshd: rgo@pts/1 sshd
- cp /etc/ssh/sshd_config $HOME
- sudo apt-get --reinstall install openssh-server
- /etc/ssh/sshd_config
- /etc/systemd/system/sshd.service
- sudo service sshd restart
- sudo service sshd status
- ssh -l username -p 54747 hostname
- hostname
- ssh localhost
- ssh -p 54747 localhost
- sudo service sshd status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement