Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ssh domain.com -vv
- OpenSSH_6.9p1 Ubuntu-2, OpenSSL 1.0.2d 9 Jul 2015
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 19: Applying options for *
- debug2: ssh_connect: needpriv 0
- debug1: Connecting to domain.com [x.x.x.x] port 22.
- debug1: connect to address x.x.x.x port 22: Connection refused
- ssh: connect to host domain.com port 22: Connection refused
- as expected, since I don't use default port.. let's try again:
- ssh -p 9022 domain.com -vv
- OpenSSH_6.9p1 Ubuntu-2, OpenSSL 1.0.2d 9 Jul 2015
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 19: Applying options for *
- debug2: ssh_connect: needpriv 0
- debug1: Connecting to domain.com [x.x.x.x] port 9022.
- debug1: connect to address x.x.x.x port 9022: Connection refused
- ssh: connect to host domain.com port 9022: Connection refused
- my username on the current PC is different than the username on the other PC, so let's add that in the mix:
- ssh -l username -p 9022 domain.com -vv
- OpenSSH_6.9p1 Ubuntu-2, OpenSSL 1.0.2d 9 Jul 2015
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 19: Applying options for *
- debug2: ssh_connect: needpriv 0
- debug1: Connecting to domain.com [x.x.x.x] port 9022.
- debug1: connect to address x.x.x.x port 9022: Connection refused
- ssh: connect to host domain.com port 9022: Connection refused
- ok, let's try adding the PC name too..:
- ssh -l username -p 9022 pcname@pdomain.com -vv
- OpenSSH_6.9p1 Ubuntu-2, OpenSSL 1.0.2d 9 Jul 2015
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 19: Applying options for *
- debug2: ssh_connect: needpriv 0
- debug1: Connecting to domain.com [x.x.x.x] port 9022.
- debug1: connect to address x.x.x.x port 9022: Connection refused
- ssh: connect to host domain.com port 9022: Connection refused
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement