LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-31-2001, 09:01 PM   #1
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
OpenSSH configuration/connection


I am trying to use SSH to connect to my Linux box from Windoze.
All I want to do is set it up to allow the existing systems passwords.

I want to know what settings to make in sshd_config
and what the best Windwos client I should use.
I am currently tryting to use PuttY but no go.

I set PasswordAuthentification to Yes but , thta didn't work
Here is my sshd_config file:

Port 22
ListenAddress 0.0.0.0
HostKey /etc/ssh/ssh_host_key
RandomSeed /etc/ssh/ssh_random_seed
ServerKeyBits 768
LoginGraceTime 300
KeyRegenerationInterval 3600
PermitRootLogin no
IgnoreRhosts yes
StrictModes yes
QuietMode no
X11Forwarding no
FascistLogging no
PrintMotd yes
KeepAlive yes
SyslogFacility DAEMON
RhostsAuthentication no
RhostsRSAAuthentication no
RSAAuthentication yes
PasswordAuthentication yes
PermitEmptyPasswords no




Any Help is greatly appreciated
 
Old 09-01-2001, 05:01 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
The only thing I can see is you should make the ListenAddress to be your external IP address.
Look in the logfile for startup failures/connects, else review your tcpwrappers/firewall rules don't exclude SSHD usage and/or your windoze box address.

I never had problems using either Igaly's SSH client or Putty, either with RSAAuthentication or
PasswordAuthentication under both SSH protocol versions.
 
Old 09-17-2001, 02:43 AM   #3
neil
Member
 
Registered: Jul 2001
Location: Kent, UK
Distribution: /Fedora/Debian/Ubuntu/Xubuntu
Posts: 108

Rep: Reputation: 15
PuTTy is a great tool for this!
 
Old 09-18-2001, 03:37 PM   #4
r3b00t
Member
 
Registered: May 2001
Distribution: OpenBSD 3.0-beta
Posts: 50

Rep: Reputation: 15
About the listenadress: 0.0.0.0 means "listen on all interfaces. This setting should be 0.0.0.0, unless you have a multi homed host and you want to restict ssh trafix only to a certain interface.

1) First of all, is sshd running? (ps -ef|grep sshd ; netstat -an|grep LISTEN)
2) Can you ssh to localhost from the console?
3) Review your /etc/hosts.{allow|deny} (if they exist).
4) Try to connect to the sshd on your nic with much verbosity (ssh -v -v <yourhostname/ipaddr>). Whap happens?
 
  


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
openssh and putty configuration help johnson407 Mandriva 2 12-15-2004 11:11 PM
Configuration of internet connection vdwielto Linux - Networking 2 03-27-2004 04:24 PM
Seting up a secure OpenSSH / Putty Connection... Help :) MrCarl Linux - Software 2 09-23-2003 09:27 AM
How to Check the IP configuration of your Ethernet Connection scottpioso Linux - Networking 3 03-10-2003 11:23 AM
Ineternet Connection Configuration jperensky Linux - General 5 09-27-2002 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:34 AM.

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