Può connettersi tramite SSH da Mac a Linux

1

Ho un server Xubuntu configurato con SSH. Posso collegarmi usando Putty su Windows e tramite un plugin SSH Chrome sul mio Mac. Tuttavia, quando utilizzo il client del terminale, si blocca per un po 'e poi si ripristina la connessione. L'output di debug è:

ssh [email protected]:2222 -v

OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
debug1: Connecting to xx.xx.xx.xxx:2222 [xx.xx.xx.xx] port 22.
debug1: Connection established.
debug1: identity file /Users/xxxxx/.ssh/id_rsa type -1
debug1: identity file /Users/xxxxx/.ssh/id_rsa-cert type -1
debug1: identity file /Users/xxxxx/.ssh/id_dsa type -1
debug1: identity file /Users/xxxxx/.ssh/id_dsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2

Qualcuno ha qualche consiglio?

    
posta alj 30.07.2014 - 09:53
fonte

1 risposta

0

Ho notato nell'output di debug che si parla della porta "22" anche se ho specificato "2222". È come se avessi bisogno di inserire un flag '-p' quando usi il terminale:

ssh -p 2222 [email protected]

Questo sembra un po 'strano come con gli altri terminali che stavo usando:

ssh [email protected]:2222

    
risposta data 30.07.2014 - 10:52
fonte

Leggi altre domande sui tag