Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-02-2009, 07:12 AM   #1
Registered: Nov 2008
Posts: 489

Rep: Reputation: 36
ssh connection problem.

I have installed centos 5.2 at my friends computer. For this I sent centos DVD.

After installing, I tried to connect to his computer through ssh.
But I received "permission denied".

How could I solve this problem?
Old 01-02-2009, 07:14 AM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Is the sshd installed and running?
what is the output from
ps ax | grep ssh
Old 01-02-2009, 06:25 PM   #3
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
Service ssh runs.

When putty connected with this box, prompt asked id and password.
Also I can get putty's security alert for remote server's rsa2 key fingerprint.

I've got ssh debugging reslt as follows;

[root:localhost:/_hanwork]# ssh -vvv
OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to [] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: loaded 3 keys
ssh_exchange_identification: Connection closed by remote host

Last edited by windstory; 01-02-2009 at 08:00 PM.


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
A problem with ssh connection lawrence_lee_lee Linux - Software 5 05-16-2008 08:14 AM
Ssh connection Problem ??? ce_emre Linux - Networking 2 10-11-2006 07:22 AM
ssh connection problem klemen Linux - Networking 2 06-19-2005 04:01 AM
CVS + SSH connection problem Serbulent Linux - Software 2 02-15-2005 08:01 AM
problem setting up ssh connection amit666 Linux - Newbie 1 01-30-2004 04:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:39 AM.

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