Ssh to remote computer

Taking care of your Linux box.
Post Reply
sarthor
Battalion Quarter Master Havaldaar
Posts: 241
Joined: Wed Dec 24, 2003 2:36 am
Location: Pukhtoonistan
Contact:

Ssh to remote computer

Post by sarthor »

Salam O Alykum
dell inspiron 1525 laptop/ ubuntu hardy installed.
if i do ssh to
ssh sarthor@192.168.0.100
after putting password nothing happens,
the terminal just get hang, i cant write anything, no Ctrl+c and no Ctrl+z working.
ssh -v 192.168.0.100
#
sarthor@salaar-laptop:~$ ssh -v 192.168.0.100
#
OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007
#
debug1: Reading configuration data /etc/ssh/ssh_config
#
debug1: Applying options for *
#
debug1: Connecting to 192.168.0.100 [192.168.0.100] port 22.
#
debug1: Connection established.
#
debug1: identity file /home/sarthor/.ssh/identity type -1
#
debug1: identity file /home/sarthor/.ssh/id_rsa type -1
#
debug1: identity file /home/sarthor/.ssh/id_dsa type -1
#
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.7p1 Debian-8ubuntu1
#
debug1: match: OpenSSH_4.7p1 Debian-8ubuntu1 pat OpenSSH*
#
debug1: Enabling compatibility mode for protocol 2.0
#
debug1: Local version string SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
#
debug1: SSH2_MSG_KEXINIT sent
#
debug1: SSH2_MSG_KEXINIT received
#
debug1: kex: server->client aes128-cbc hmac-md5 none
#
debug1: kex: client->server aes128-cbc 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: Host '192.168.0.100' is known and matches the RSA host key.
#
debug1: Found key in /home/sarthor/.ssh/known_hosts:1
#
debug1: ssh_rsa_verify: signature correct
#
debug1: SSH2_MSG_NEWKEYS sent
#
debug1: expecting SSH2_MSG_NEWKEYS
#
debug1: SSH2_MSG_NEWKEYS received
#
debug1: SSH2_MSG_SERVICE_REQUEST sent
#
debug1: SSH2_MSG_SERVICE_ACCEPT received
#
debug1: Authentications that can continue: publickey,password
#
debug1: Next authentication method: publickey
#
debug1: Trying private key: /home/sarthor/.ssh/identity
#
debug1: Trying private key: /home/sarthor/.ssh/id_rsa
#
debug1: Trying private key: /home/sarthor/.ssh/id_dsa
#
debug1: Next authentication method: password
#
sarthor@192.168.0.100's password:
#
debug1: Authentication succeeded (password).
#
debug1: channel 0: new [client-session]
#
debug1: Entering interactive session.
#
debug1: Sending environment.
#
debug1: Sending env LANG = en_US.UTF-8
my WLAN driver is installed, i can use internet/browsing/chatting/voice/webcam nicely.

if i use utp cable in my ethernet and try to access the remote computer via ssh, so its working fine, but if i try to access from my wlan connection so its not working.
while putty for linux is able to access the remote computer on both lan and Wlan.

i reinstalled from the new iso and newly wrote CD, but still the problem same. and i also tried to access other computers on the internet but i cant access. while from other computers or xp i can access that computers.

i need help to solve this problem,
the forum can ask me for providing more info you need to find/slove the problem.
Waiting.....
thank you
Salam O Alykum
Tefl E Maktab
-----------------------------
----- ----- ----- ------ ------ -------
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

turn off sshd, and then type, as root "sshd -Dddd" and do a tail on the system log file (the debug one or messages) to see what happens when you ssh to the system.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Post Reply