LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-16-2011, 12:40 PM   #1
moata_u
Member
 
Registered: Jan 2011
Posts: 32

Rep: Reputation: 0
ssh issue


am trying connect to server via ssh after entering the password it's just keep stuck !!!

*** NOTE : i was using the server and am sure about the user name and password ...

Please advice ...
 
Old 06-16-2011, 12:44 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,009
Blog Entries: 5

Rep: Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785
Stuck where? When you type "ssh hostname" does it ever give a login prompt? A password prompt? Any prompts after you've entered login and password?

Have you tried running with "ssh -v" or -vv or -vvv for debugging?
 
Old 06-16-2011, 12:49 PM   #3
moata_u
Member
 
Registered: Jan 2011
Posts: 32

Original Poster
Rep: Reputation: 0
ssh

ye , i got password prompt after entering password it just stack !!

Quote:
Originally Posted by MensaWater View Post
Stuck where? When you type "ssh hostname" does it ever give a login prompt? A password prompt? Any prompts after you've entered login and password?

Have you tried running with "ssh -v" or -vv or -vvv for debugging?
 
Old 06-16-2011, 12:51 PM   #4
moata_u
Member
 
Registered: Jan 2011
Posts: 32

Original Poster
Rep: Reputation: 0
ssh depug

OpenSSH_5.3p1 Debian-3ubuntu6, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 10.10.120.52 [10.10.120.52] port 22.
debug1: Connection established.
debug1: identity file /home/moata/.ssh/identity type -1
debug1: identity file /home/moata/.ssh/id_rsa type -1
debug1: identity file /home/moata/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version Sun_SSH_1.1.1
debug1: no match: Sun_SSH_1.1.1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu6
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: Host '10.10.120.52' is known and matches the RSA host key.
debug1: Found key in /home/moata/.ssh/known_hosts:9
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: gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive
debug1: Next authentication method: gssapi-keyex
debug1: No valid Key exchange context
debug1: Next authentication method: gssapi-with-mic
debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied


debug1: Next authentication method: publickey
debug1: Trying private key: /home/moata/.ssh/identity
debug1: Trying private key: /home/moata/.ssh/id_rsa
debug1: Trying private key: /home/moata/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive


Quote:
Originally Posted by moata_u View Post
ye , i got password prompt after entering password it just stack !!
 
Old 06-17-2011, 12:52 AM   #5
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 386
Blog Entries: 3

Rep: Reputation: 25
Quote:
Originally Posted by moata_u View Post
am trying connect to server via ssh after entering the password it's just keep stuck !!!

*** NOTE : i was using the server and am sure about the user name and password ...

Please advice ...
Did you already configure the ssh on the computer you want to access,
Example: configure sshd in start up. it is in the Linux Control panel in system tab.
 
Old 06-17-2011, 02:49 AM   #6
ssrameez
Member
 
Registered: Oct 2006
Location: bangalore
Distribution: Fedora, Ubuntu, Debian, Redhat
Posts: 82

Rep: Reputation: 6
try ssh -v or ssh -vv.
In parallel open another session to the server and tail /var/log/messages. (When I say opening the server, I meant that you should connect to the server in the same way you were connecting earlier).
 
  


Reply

Tags
ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH Issue bluedude2288 Red Hat 5 05-12-2011 02:11 PM
[SSH] Issue logging in [SSH & Permissions] MD3 Linux - Networking 11 12-10-2006 09:25 AM
X over SSH Issue stlpcsolutions Linux - Server 1 11-27-2006 10:08 AM
SSH issue petachi Linux - Newbie 2 04-06-2004 06:57 PM
ssh issue: /usr/bin/ssh -x -oFallBackToRsh no -l WeNdeL Linux - Software 1 03-04-2003 07:17 PM


All times are GMT -5. The time now is 05:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration