Link to home
Start Free TrialLog in
Avatar of samcumar
samcumar

asked on

Installing and configuring SSH on Linux

Does anybody know how to install and configure SSH and be able to enable it through the firewall(Linux running ipchains)?

Avatar of monas
monas
Flag of Lithuania image

Sure, somebody knows. But you should explain what exactly you want to do. And at what point you have stopped.

Questions for you for start:
1) do you want to install ssh on firewall machine or on one behind it;
2) where do you need to connect using ssh (select all that apply):
  a) to firewall from inside;
  b) to firewall from outside;
  c) to internal from outside;
  d) from inside mashine to outside server;
  e) from firewall to outside server;
  f) from firewall to inside server.
3) what version of Linux you are running;
4) are you ready to use ./configure;make;make install or you want to get everything precompiled?
Avatar of jyu_88
jyu_88

I guess, as long as you do ACCEPT TCP port 22, the default port for SSH.
Avatar of samcumar

ASKER

Monas,
These are the Answers to your question:-

1) I want to install ssh on my firewall and also on my webserver

2) The options that I choose are (b), (c) & (f)

3) (i) The firewall is running RedHat 5.2 but I upgraded the kernel to 2.2.12.
(ii) The webserver is running redhat 5.2 kernel ver 2.0.36 but I will be upgrading it to redhat 6.2 very soon.

(4) This is where I'm confused at the moment and I couldn't understand fully the README file for SSH.
What do I need to do here?

Thanks in advance for your help.
Are you just asking how to ssh to a machine behind the firewall?
ASKER CERTIFIED SOLUTION
Avatar of monas
monas
Flag of Lithuania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Monas,

The version of ssh I downloaded is 2.0.13. So I have to look at the README file then.

I shall try out on this Saturday. I will let you know if it works or not.

Thanks for your help.
SSH2 with protocol 2.0 version above has license problem if you donot limit it to personal/home use. For free one, you have to stick to SSH1 with protocol version 1.50 and package version 1.2.27 (then you need to compile with RSAref instead of RSA, also you need to patch RSAref and ssh according to CERT warning)
jyu_88
Thanks for the update.
You might also take a look at the new Universal SSH (http://www.ssh.com/). I know that it is/will be free for educational institutes and the current beta if free for all use.
Thanks for the answer Monas, it worked. Though I struggled it finally worked.