only linux to linux server SSH allowed?!
I have a Linux Redhat 9 server running off a datacenter but i can only SSH in using another Linux machine through the internet. Why is that so? The server has a static IP address and is going to be used as a web hosting server.
|
How do you know that's so? What have you tried and what happens when you try? What do you want to happen?
We can't help if you don't give details. Enjoy! --- Cerbere |
Have you tried putty from a windows machine? That does not work?
|
Quote:
You guys try SSH to <REMOVED> no error or anything just blinking cursor with putty. but if you SSH to that IP using a Linux machine, you will get a prompt for userID/ password. :( Any ideas? |
I had problems with putty at work, but was able to use a program called ssh32.
|
Quote:
|
That seems very odd to me. I'm not too familiar with the ssh32 program but are you sure you are setting putty to use the correct port to ssh into?
|
Quote:
|
:(
|
Go over your sshd_config file with a fine comb.
|
Use putty and make sure you go to the Connection -> SSH section and put a bullet next to "Preferred SSH protocol version: 2"
More than likely the place you are ssh'ing to only allows protocol 2 (which is a good thing). |
I use SSH Secure Shell Client for Windows. From www.ssh.com . It has always worked fine. I don't see why it should make much of a difference for what operating system, as long as it's using the ssh2 protocol. I can connect to my computers from my gf's windows using said program. Sometimes, however, I can't connect when I'm on a computer that's the same ISP as me (cogeco). I may have to ssh to my school's server first, than to mine. But sometimes it does work. I know it's not the computer because when I hook it up on my computer's network it can connect fine.
|
Quote:
|
Quote:
|
k - I just tried your ip in both windows and Linux and it hangs on both. I am presuming you got a new ip from your isp. Can't ping that ip either. Please send the newer IP if you want me to test it.
If you have not resolved the issue try this: a) shutdown all firewalls [including the native xp firewall] and if in a corporation make sure they have not firewalled the ports. b) remove any proxy. c) check that the ports are forwarded in your router [unless you know you can access from outside on another pc]. d) try another windows box - it soundsd like something on youe xp box e) completely uninstall anti-virus as it may be interfering [happens alot with internet apps] NB~ Norton leaves LiveUpdate & LiveReg after uninstall - remove them from add/remove progs. f) check these files: /etc/services /etc/ssh/sshd_config /etc/ssh/ssh_config make sure the ports are commented out and the commented default port is 22. g) update your ssh packages h) let us know how that goes. EDIT I see you have figured out that it was the XP box. For the permissions issue I would double check all the permissions in their home directories as wierd things can happen sometimes with permissions. ls -la will give you full info about the files. also make not of their groups and beware of any files like this: -r-xr-xrws 1 root root 643213 Aug 12 time blah the key thing to look for here is the 's' - Selective Root Permissions - it could be a Trojan horse if you did not specifically set it to 's'. |
All times are GMT -5. The time now is 10:27 PM. |