c********a 发帖数: 6466 | 1 I tried ssh u******[email protected]
or ssh www.mitbbs.com
none of these works, how can connect to mitbbs with ssh?
zhaolaosan?? |
z*********n 发帖数: 94654 | 2 I do ssh z*********[email protected]
it always works
【在 c********a 的大作中提到】 : I tried ssh u******[email protected] : or ssh www.mitbbs.com : none of these works, how can connect to mitbbs with ssh? : zhaolaosan??
|
c********a 发帖数: 6466 | 3 protocol major versions differe: 2 vs 1
【在 z*********n 的大作中提到】 : I do ssh z*********[email protected] : it always works
|
z*********n 发帖数: 94654 | 4 your client doesn't support v1?
【在 c********a 的大作中提到】 : protocol major versions differe: 2 vs 1
|
c********a 发帖数: 6466 | 5 I use regular terminal, should I use gnome or X?
【在 z*********n 的大作中提到】 : your client doesn't support v1?
|
z*********n 发帖数: 94654 | 6 I am using regular terminal
gnome-terminal
what's your error message?
what's your /etc/ssh config?
【在 c********a 的大作中提到】 : I use regular terminal, should I use gnome or X?
|
z*********n 发帖数: 94654 | 7 btw, add -vvv, you'll see exactly where it failes
ssh -vvv c********[email protected]
oh, try mitbbs.com, not www.mitbbs.com
【在 c********a 的大作中提到】 : I use regular terminal, should I use gnome or X?
|
c********a 发帖数: 6466 | 8 maybe I use public key and private keys for my company's servers, do I
have to save mitbbs username and password in ssh config file? |
z*********n 发帖数: 94654 | 9 no. do -vvv, you'll see
maybe your company blocked port 22 to outside. that's very common in a lot
of places
【在 c********a 的大作中提到】 : maybe I use public key and private keys for my company's servers, do I : have to save mitbbs username and password in ssh config file?
|
c********a 发帖数: 6466 | 10
cindy@cindy-Latitude-E6420:~$ ssh -vvv c********[email protected]
OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to mitbbs.com [74.53.4.74] port 22.
debug1: Connection established.
debug1: identity file /home/cindy/.ssh/id_rsa type -1
debug1: identity file /home/cindy/.ssh/id_rsa-cert type -1
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/cindy/.ssh/id_dsa" as a RSA1 public key
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type 'Proc-Type:'
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type 'DEK-Info:'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type '----'
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type 'Comment:'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '----'
debug3: key_read: missing keytype
debug1: identity file /home/cindy/.ssh/id_dsa type -1
debug1: identity file /home/cindy/.ssh/id_dsa-cert type -1
debug1: identity file /home/cindy/.ssh/id_ecdsa type -1
debug1: identity file /home/cindy/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 1.5, remote software version 1.0.0(SMTH)
debug1: no match: 1.0.0(SMTH)
Protocol major versions differ: 2 vs. 1
【在 z*********n 的大作中提到】 : no. do -vvv, you'll see : maybe your company blocked port 22 to outside. that's very common in a lot : of places
|
z*********n 发帖数: 94654 | 11 你的config是key authentication only
应该是key fail之后找password
可能是/etc/ssh
也可能是你的~/.ssh/config
【在 c********a 的大作中提到】 : : cindy@cindy-Latitude-E6420:~$ ssh -vvv c********[email protected] : OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010 : debug1: Reading configuration data /etc/ssh/ssh_config : debug1: Applying options for * : debug2: ssh_connect: needpriv 0 : debug1: Connecting to mitbbs.com [74.53.4.74] port 22. : debug1: Connection established. : debug1: identity file /home/cindy/.ssh/id_rsa type -1 : debug1: identity file /home/cindy/.ssh/id_rsa-cert type -1
|