Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSH configuration..

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I want to connect a remote machine through sch..for that i need to configure the SSH ..Pls help me out..
Thanks in Advance..
Santanu
Can pls tell some site from where i can get good stuffs on SSH...
 
Also, make sure when building openssh, that you add --with-pam when running ./configure most linux distro's use pam for authentication these days, and in order to properly log in, the pam support must be enabled. There is also a file '/openssh_source/contrib/sshd.pam.generic' that must be copied into /etc/pam.d



 
Hi,

You can also get prebuilt rpms for most linux distros. You normally need three rpms :

openssh
openssh-server (if you want the server !)
openssh-clients

Certainly the redhat ones are built with pam and the server rpm includes the normal sysv init script to start the server at boot.

To find / download rpms for your distro just go to --> . Type the above three names in the search box and grab the ones for your distro...

For client access to a linux sshd from a winbox most people tend to use PuTTY -->
Hope this helps
 
PuTTY is really good!!
The best ssh client for win32 and it's free.

BTW, I've been reading the MandrakeUser.org documentation about creating a certificate using

#make cert

but the shell tries to work with a Makefile (I think....) and I can't get the certificate created :(

I want to set up a secure proftpd and a secure ipop3d an imapd Arlequín
arlequin@montevideo.com.uy
 
Putty is good, I agree- except that it falls down on the emulation side. For many things, that's completely unimportant, but sometimes you need to emulate specific things like SCOANSI or wyse-60.


Fortunately, most all of the terminal emulation vendors do ssh now, and although some are pricy, many are quite inexpensive- for example, I like anzio ( at $25.00 a seat (less in volume of course).

My general procedure with clients is to try putty with their programs first. If it works, great. If not, they buy Anzio or Zoc or whatever.
Tony Lawrence
SCO Unix/Linux Resources tony@pcunix.com
 
I tried to use PuTTY to make a ssh connection to a redhat 7.2 server running sshd daemon.( by installing openssh-server2.9p2). But instead of getting connected,it keep give me this error: "Network error: connection reset by peer"

I have been looking for the solution for almost a day through numerous sites without still can't find the solution.

Is anybody out there can help?
 
Hi,

First suspect would be the RH 7.2 firewall. Did you allow port 22 (ssh) through ? Unless you know you disabled that or configured it already then 'lokkit' is often one of the reasons people can't connect to a RH7.x machine out of the box. You can admin lokkit via :

# /usr/sbin/lokkit

... simplest is to set you lan interface as trusted. Then restart the network :

# /etc/rc.d/init.d/network restart

Otherwise, see the openssh chapter of the RH Customisation guide -->
When you have the basics working see also -->
Hope this helps
 
For a client I have taken to SecureNetterm as my preferred ssh client, found it pretty robust with lots of extras built-in. One nice feature is the ability to generate private and public keys, doing away with the need for passphrase authentication when connecting.

As for setting up SSH (openSSH) on a mix of Sun, AIX and Linux, the info out there was pretty sparse. I ended up buying the O-Reilly SSH book, a bit pricy, but excellent.

The "connection reset by peer" may be that your sshd daemon isn't running, do a ps -ef|grep sshd and see if it's up. But then it may be a firewall/router issue as well as ifincham said. IBM Certified Specialist - MQSeries
 
Thanks guys. It is the firewall setting which blocks the SSH port. Now it works. Thanks, ifincham & aixmurderer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top