LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   only linux to linux server SSH allowed?! (https://www.linuxquestions.org/questions/linux-software-2/only-linux-to-linux-server-ssh-allowed-140632/)

etegration 01-31-2004 03:13 AM

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.

Cerbere 01-31-2004 04:02 AM

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

Crashed_Again 01-31-2004 04:56 AM

Have you tried putty from a windows machine? That does not work?

etegration 01-31-2004 05:06 AM

Quote:

Originally posted by Crashed_Again
Have you tried putty from a windows machine? That does not work?
precisely! i use putty and it just blinks.

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?

jschiwal 01-31-2004 07:21 AM

I had problems with putty at work, but was able to use a program called ssh32.

etegration 02-01-2004 02:35 AM

Quote:

Originally posted by jschiwal
I had problems with putty at work, but was able to use a program called ssh32.
i have just downloaded and tried that, does not work too. i think it's more my server's config then the software i am using...

Crashed_Again 02-01-2004 04:31 AM

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?

etegration 02-01-2004 07:18 AM

Quote:

Originally posted by Crashed_Again
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?
yes and on port 22.

etegration 02-03-2004 04:47 AM

:(

Crashed_Again 02-03-2004 06:05 AM

Go over your sshd_config file with a fine comb.

Unseen 02-03-2004 01:21 PM

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).

95se 02-03-2004 02:34 PM

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.

etegration 02-03-2004 10:05 PM

Quote:

Originally posted by Unseen
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).

hi, tried that does not work for me.

etegration 02-03-2004 10:06 PM

Quote:

Originally posted by 95se
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.
a friend using ssh.com's product and able to connect too but the problem is there's a lot of programs that cannot be install for webhosting and users have problems access their files etc when done. There's still something wrong some more..any ideas?

mossy 02-04-2004 02:43 AM

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.