Can't connect a remote server using ssh
Can't connect a remote server using ssh
MacBook Pro 16″, macOS 12.3
Can't connect a remote server using ssh
MacBook Pro 16″, macOS 12.3
How remote?
Is the remote server behind a firewall?
Is the remote server behind a home router?
Are you inside a corporate environment and have a corporate firewall that does not allow direct ssh connections outside the company network?
Do you have an anti-virus package installed on the remote server?
Do you have an anti-virus package installed on your Mac?
Can you
ping address.of.remote.server
Have to tried using
ssh -v addr.of.remote.svr
ssh -v -v addr.of.remote.svr
ssh -v -v -v addr.of.remote.svr
Then compare the output from the -v options against an ssh connection that works. Generally the -v output from a working ssh connection and a failed ssh connection will track very closely until the failed ssh terminates early, and in that area is where you can generally figure out why you are having ssh connection issues.
How remote?
Is the remote server behind a firewall?
Is the remote server behind a home router?
Are you inside a corporate environment and have a corporate firewall that does not allow direct ssh connections outside the company network?
Do you have an anti-virus package installed on the remote server?
Do you have an anti-virus package installed on your Mac?
Can you
ping address.of.remote.server
Have to tried using
ssh -v addr.of.remote.svr
ssh -v -v addr.of.remote.svr
ssh -v -v -v addr.of.remote.svr
Then compare the output from the -v options against an ssh connection that works. Generally the -v output from a working ssh connection and a failed ssh connection will track very closely until the failed ssh terminates early, and in that area is where you can generally figure out why you are having ssh connection issues.
Can't connect a remote server using ssh