How to open port 22 for ssh on PIX501 and Windows Server 2003?

I would like to setup a secure shell (ssh) link to a windows 2003 server through a pix501 firewall.  How would I do this on the windows server and the pix??
compinfoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

billwhartonCommented:
Are you trying to connect from the Internet to the server on the inside network?

If yes, you would simply modify the already present access list on the outside interface or create a new one:
access-list 100 permit tcp any host <server.ip> eq 22

You would need to run a SSH server on the server as Windows 2003 doesn't have an in-built one. There are freeware SSH servers & clients.
http://sshwindows.sourceforge.net/

0
grbladesCommented:
Hi compinfo,
Paste the following into your PIX configuration:-

static (inside,outside) tcp interface ssh <IP-ADDRESS-OF-WIN2K-SERVER> ssh netmask 255.255.255.255 0 0
access-list outside_in permit tcp any any eq 22
access-group outside_in in interface outside

If you already have an access-list applied to the outside interface just add the 'access-list' line above to it and the 'static' line.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
compinfoAuthor Commented:
Thanks billwharton and grblades, I will try these suggestions this evening and get back with you.
0
Firewall Management 201 with Professor Wool

In this whiteboard video, Professor Wool highlights the challenges, benefits and trade-offs of utilizing zero-touch automation for security policy change management. Watch and Learn!

compinfoAuthor Commented:
Hmm...  I'm almost there,  just on the SSH, when I try to connect, after I put in the password, I get this error and the connection closes:

setgid: Invalid argument

*  Also, when I tried to setup a domain group in openssh, it wouldn't let me, only local, so I added my user to the local group.  This server is not part of any windows domains, just a workgroup with only itself in it.

Any ideas?
0
billwhartonCommented:
compinfo

i am not sure which ssh server or client you are using. I would suggest you post on the Windows forum as the firewalls forum might not have too many people who have worked with those particular applications.

I have set one up long back; Grblades might have more info for you.

To see if the firewall is successfully passing packets to the windows server, telnet to this from the internet:
telnet <pix outside ip> 22
0
compinfoAuthor Commented:
I'm using openssh as grblades suggested.  I will have to say that since that was not part of my original question, I will repost and award the points to both answers since you both helped with getting through the pix!  Thanks, Compinfo
0
billwhartonCommented:
Thx for the points compinfo

btw, i was the one to suggest openSSH :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software Firewalls

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.