LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-02-2009, 07:12 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 443

Rep: Reputation: 31
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
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,497

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

Original Poster
Rep: Reputation: 31
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;

Quote:
[root:localhost:/_hanwork]# ssh -vvv tester@test.org
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 test.org [258.xxx.xxx.xxx] 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.
 
  


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
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


All times are GMT -5. The time now is 05:16 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