LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 06-08-2005, 11:52 AM   #1
60s TV Batman
Member
 
Registered: Oct 2004
Location: London (UK)
Distribution: Ubuntu 12.04
Posts: 60

Rep: Reputation: 17
sshd refusing remote connection from SecureCRT


I've installed FreeBSD on one box, and have WinXP running on my other. They're connected via a Netgear ADSL router and cat5 cables.

I want to log in to FreeBSD from my WinXP box using SecureCRT. This works just fine between Fedora 3 and my WinXP box, so I know for certain that everything is set up correctly in SecureCRT.

sshd is set up for SSH2 and port 22, as is SecureCRT. I can log in locally using (for example) "ssh -l batman localhost", so I'm certain sshd is up and running.

I can ping the FreeBSD box from the WinXP box, and vice versa.

It would seem that sshd (or something else) is routinely refusing remote connections (in this case, remote being on the same network with 192.168.0.3 attempting to ssh into 192.168.0.2)

I suspect the problem lies with some other configuration setting that I...

1) Don't know about
2) Do know about, but am too ignorant to know how to set correctly

Anyone got any useful suggestions, leads, tips for me on this one?

Last edited by 60s TV Batman; 06-08-2005 at 12:37 PM.
 
Old 06-08-2005, 04:02 PM   #2
scuzzo84
Member
 
Registered: Mar 2005
Location: maryland
Distribution: NetBSD
Posts: 60

Rep: Reputation: 15
1. check if ssh is listening

dilara: {3} netstat -a | grep .ssh

2. do you have a firewall on that box?

3. run tcp dump on the bsd box and from the windows box try sshing to it and see if the bsd box gets any packets


dilara: {1} tcpdump port 22

4. try restarting ssh in /etc/rc.d ( this is from netbsd i think its the same for freebsd), go to /etc/rc.d/ and

dilara: {6} ./sshd restart

5. try rebooting the box

6. Anything in the log?

dilara: {12} cat /var/log/authlog

These are all just some ideas suggestions, hope it helps

Last edited by scuzzo84; 06-08-2005 at 04:07 PM.
 
Old 06-08-2005, 04:45 PM   #3
60s TV Batman
Member
 
Registered: Oct 2004
Location: London (UK)
Distribution: Ubuntu 12.04
Posts: 60

Original Poster
Rep: Reputation: 17
Quote:
Originally posted by scuzzo84
2. do you have a firewall on that box?
Actually, I don't know. I didn't specifically elect to install one, so assume not.

As it turns out, I've just got it working by making a change to SecureCRT. I found a post on the Internet from another FreeBSD user with exactly the same problem.

For the benefit of others in this situation, the solution is to make a change in the properties dialog for SecureCRT. Under connection, change Authentication Primary from Password to Keyboard Interactive.

For some reason, this did the trick. No doubt, in time I'll found out why.

Thanks for taking the time to make those suggestions. It's always appreciated.
 
  


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
sshd refusing connection ??? mayank_a Linux - Security 1 10-16-2005 12:50 AM
sshd & proftpd refuses remote connection devito Linux - Networking 5 10-02-2005 06:21 PM
X server keeps refusing remote X connection illuminatedwax Linux - General 3 04-16-2004 11:13 AM
sshd refusing over network manthram Linux - Networking 3 05-22-2003 06:39 AM
server refusing remote connections (@Home) dlb Linux - Networking 2 11-26-2001 02:48 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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