LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-05-2003, 02:12 PM   #1
softcore26
Member
 
Registered: Jul 2003
Location: columbia
Distribution: Linux+XP
Posts: 40

Rep: Reputation: 15
ssh problems


Hi,
I am having problems with ssh.
I have a server running RedHat.
I can do(login) "ssh" from my server to other machines but I can't login to my server.

the 'sshd' is running.

everything looks cool...but still i cant login to my machine from other machines.??

please help me

thanks

--softcore
 
Old 11-05-2003, 02:18 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Any errormessages??

Try running ssh with the -v (-vv or -vvv) option. This will give you a lot of debugging info and helps you trace errors (among other things).
 
Old 11-05-2003, 02:33 PM   #3
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
dumb question - do you have any firewall rules blocking incoming ssh connections?
 
Old 11-05-2003, 05:21 PM   #4
softcore26
Member
 
Registered: Jul 2003
Location: columbia
Distribution: Linux+XP
Posts: 40

Original Poster
Rep: Reputation: 15
when i used "ssh -v" i am getting this: I dont know what is worng..?
can anyone tell me...?
------------------------------------------------------
OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to dslsrv.cecs.missouri.edu [128.206.22.36] port 22.
debug1: Connection established.
debug1: identity file /users/e/lrddbe/.ssh/identity type -1
debug1: identity file /users/e/lrddbe/.ssh/id_rsa type -1
debug1: identity file /users/e/lrddbe/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.4p1
debug1: match: OpenSSH_3.4p1 pat OpenSSH*
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.4p1
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 sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 135/256
debug1: bits set: 1583/3191
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'dslsrv.cecs.missouri.edu' is known and matches the RSA host key.
debug1: Found key in /users/e/lrddbe/.ssh/known_hosts:12
debug1: bits set: 1581/3191
debug1: ssh_rsa_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: authentications that can continue: publickey,password,keyboard-interactive
debug1: next auth method to try is publickey
debug1: try privkey: /users/e/lrddbe/.ssh/identity
debug1: try privkey: /users/e/lrddbe/.ssh/id_rsa
debug1: try privkey: /users/e/lrddbe/.ssh/id_dsa
debug1: next auth method to try is keyboard-interactive
debug1: authentications that can continue: publickey,password,keyboard-interactive
debug1: next auth method to try is password

debug1: authentications that can continue: publickey,password,keyboard-interactive
debug1: no more auth methods to try
Permission denied (publickey,password,keyboard-interactive).
debug1: Calling cleanup 0x8064f30(0x0)
 
Old 11-06-2003, 12:42 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
debug1: no more auth methods to try
Permission denied (publickey,password,keyboard-interactive).

The 2 lines I singled out say it all: Permission denied.

Do you supply a passwpord? Is your passwd correct/known by the other side? and did you check tcaptain's question?
 
  


Reply


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
Problems with SSH paul.nel Linux - Networking 17 08-09-2011 02:40 AM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 03:50 AM
SSH problems newbie21209 Linux - Networking 10 06-17-2005 01:01 AM
problems with SSH hostprotect Linux - Software 2 01-11-2005 07:15 PM
SSH problems (but only one way) blueares Linux - General 3 10-21-2004 02:25 AM


All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration