LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-18-2009, 04:35 AM   #1
Aloesi
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 0
ssh problems


Hi all,
pasted below is the output from running the ssh -vvv username@192.x.x.x command on the problem box

debug2: service_accept: ssh-userauth

debug1: SSH2_MSG_SERVICE_ACCEPT received

debug2: key: /root/.ssh/identity ((nil))

debug2: key: /root/.ssh/id_rsa ((nil))

debug2: key: /root/.ssh/id_dsa ((nil))

Can someone please help me understand what the above entries mean???

Any help will be greatly appreciated.

Thanks in advance...

Aloesi
 
Old 12-18-2009, 04:56 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Have a look at this thread here at LQ. That user had quite a similar problem.

Kind regards,

Eric
 
Old 12-18-2009, 05:09 AM   #3
Aloesi
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
ssh problems

Hi Eric,
Thanks for replying. Correct me if am wrong but i take it from reading previous posts that the need to generate a key as suggested by the thread you directed me to is if you want to connect via ssh but without a password.

My problem is from any machine within the LAN, i cannot connect via ssh to this freebsd box which is on our DMZ. Other boxes on the same zone cannot ssh to it either. Also telnet via port 25 is not possible but telnet via port 22 is. From inside the machine (accessing it via its webip), one can basically reach any other machine with ssh and telnet.

M trying to pinpoint what could be the cause of this problem.

Any ideas???

Thanks in advance.

Aloesi
 
Old 12-18-2009, 05:35 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

If none of your computers can SSH into that machine, which you say is in your DMZ, then I'd first look at your firewall and routing and next to the sshd_config on the FreeBSD box and see if it accepts connections from the IP range of your LAN (since it will be different than from your DMZ). Also if you are connecting as root, do you have the PermitRootLogin set to yes on the sshd configuration?

The errors you get are an indication that authentication is failing, and ssh is trying other authentication sequences as far as I know.

Kind regards,

Eric
 
Old 12-18-2009, 11:24 AM   #5
arief karfianto
LQ Newbie
 
Registered: Dec 2009
Location: Indonesia
Distribution: Redhat, Fedora, CentOS, Suse, OpenSuSE, Slackware, Onebase, Ubuntu, Mandriva, Mepis, IPCop, Mint
Posts: 14

Rep: Reputation: 1
have you generate the key ?
at least one of rsa or dsa key have to generated for make the server authenticate to the clients.
try explore the rsa-keygen command.

Wish U luck bro..
 
Old 12-18-2009, 11:22 PM   #6
Aloesi
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
ssh problems

Hi all,
Issue was resolved. Later found that telnet through port 25 was also taking it's time.

Updated a script on the server that disabled RDNS that seemed to be causing the server to be really slow and timeout eventually hence the inability to SSH and telnet on port 25.

Server is fine now.... can SSH, telnet etc just like before.


Thanks everyone for the help and suggestions and cant wait to be able to post again with a question or to help someone else.

Thanks again.
Aloesi
 
Old 12-19-2009, 01:35 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Glad you figured it out. Have a nice day.

Kind regards,

Eric
 
  


Reply



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
[SOLVED] ssh problems judoka Linux - Newbie 18 03-22-2010 12:05 AM
SSH access problems: Can only allow users SSH access by adding to root group dhupke Slackware 10 12-21-2008 09:48 AM
problems using ssh Helskov Linux - General 7 06-12-2006 05:18 PM
SSH Problems PDD Linux - Networking 6 11-02-2004 07:37 AM
ssh problems again saturn_vk Linux - Networking 5 03-19-2003 07:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:20 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
Open Source Consulting | Domain Registration