Discussion Locked

SSH

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am new to SSH, but have a pretty good Solaris background. I installed SSH 2.4.0 on two servers (one is at my site in VA and the other is at a remote site in CT). I have configured /etc/ssh/sshd_config and /etc/ssh2d_config according to the printout that came with the SSH installation (based on my best interpretation). I thought I had allowed everything I needed to let the server in VA connect to the server in CT. There are two firewalls between VA and CT and the rules have been added to both to allow SSH to pass in both directions.

I have enabled password authentication and did not deny any hosts from connecting to the server in CT.

When I am on the Solaris server in VA I type ssh2 X.X.X.X. I get back the error
FATAL: Connecting to X.X.X.X failed: Connection Refused.

Can anyone give me a complete list of what values must be enabled to allow a SSH client to connect to a SSH server. An example ssh2_config and/or ssh2d_config file(s) would also be great. My alias is my email address if anyone can email an example.

3 replies

by mangonmd

It sounds like either the ssh deamon isn't running or that port on the server has not been opened. Check to see if there's a daemon running. Check /etc/services to make sure that port 22 exists and isn't commented out.

I have a question however... If both of these machines are behind a firewall (different firewalls) are you certain that you are indeed getting to these machines?

Also check you command syntax. Hope this helps some.

Michael

by cpfeiffe

I was getting through the firewalls just fine and the remote server was set up right (/etc/services and everything). The problem turned out to be /etc/services on the local server. I didn't set that one up, but was told it was already working so I didn't think too much about checking it out.

This discussion is closed to new replies.