You are not logged in.
Hi all,
I am unable to ssh to a remote server from the terminal, when I try with Putty it works, heres the output of ssh -v
OpenSSH_6.3, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /root/.ssh/config
debug1: /root/.ssh/config line 49: Applying options for testing
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug1: Connecting to ********* [*********] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/************.pem type -1
debug1: identity file /root/.ssh/************ type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.3
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.1
debug1: match: OpenSSH_6.1 pat OpenSSH*
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA 50:97:e6:ff:44:01:02:ca:e2:b4:38:41:86:42:2c:c2
debug1: Host '************' is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:4
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/************.pem
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
Authenticated to ************ ([************]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
I suspect it has something to do with my terminal? I am using xfce terminal
Update:
so following advice from other forum members, I am marking this as solved. The situation resulted from me installing a new router and this router blocked SSH connections, I search on stackoverflow and tried this fix at
http://stackoverflow.com/questions/2247 … i-does-not
I applied the setting to /etc/ssh/ssh_config and it started working again.
Last edited by zenwong (2013-10-30 08:47:41)
Offline
Please use code tags. You can see how to do this by clicking on the "BBCode" link below (which will open in a new tab).
Offline
I helped another member off-line with this a couple days ago. He also had:
debug1: Roaming not allowed by server
The problem is at the client end. Either you are being blocked at the Ethernet Bridge/Firewall (likely) or you have a permissions problem with your keys in ~/.ssh (the directory and everything in it needs to belong to your user)
What is the environment from which you are trying to work? Home network? Cafe? School? Work?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Hmm I'm trying from home, unlikely it's a firewall issue cause I can ssh in with putty, and everything in .ssh folder is chmod to 600. What is this roaming not allowed by server?
Offline
Found out it was my router blocking, I had to put this in my ssh_config
Host *
IPQoS 0x00
Offline
Please marke this poist as "solved" if you've got a solution.
Offline
In addition to marking your thread as solved, you should also give a bit of info on how you came to that concolusion and what that confguration does. If you have the expectation that posting in these threads might yeild assistance, you should also assume that there is the expectation that you will have the courtesty to make the thread useful for others in the event that you find the solution on your own. https://wiki.archlinux.org/index.php/Fo … way_Street
Offline