LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-31-2004, 04:13 AM   #1
etegration
LQ Newbie
 
Registered: Jan 2004
Posts: 26

Rep: Reputation: 15
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.
 
Old 01-31-2004, 05:02 AM   #2
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
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
 
Old 01-31-2004, 05:56 AM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Have you tried putty from a windows machine? That does not work?
 
Old 01-31-2004, 06:06 AM   #4
etegration
LQ Newbie
 
Registered: Jan 2004
Posts: 26

Original Poster
Rep: Reputation: 15
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?

Last edited by etegration; 02-04-2004 at 06:38 AM.
 
Old 01-31-2004, 08:21 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
I had problems with putty at work, but was able to use a program called ssh32.
 
Old 02-01-2004, 03:35 AM   #6
etegration
LQ Newbie
 
Registered: Jan 2004
Posts: 26

Original Poster
Rep: Reputation: 15
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...
 
Old 02-01-2004, 05:31 AM   #7
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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?
 
Old 02-01-2004, 08:18 AM   #8
etegration
LQ Newbie
 
Registered: Jan 2004
Posts: 26

Original Poster
Rep: Reputation: 15
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.
 
Old 02-03-2004, 05:47 AM   #9
etegration
LQ Newbie
 
Registered: Jan 2004
Posts: 26

Original Poster
Rep: Reputation: 15
 
Old 02-03-2004, 07:05 AM   #10
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Go over your sshd_config file with a fine comb.
 
Old 02-03-2004, 02:21 PM   #11
Unseen
Member
 
Registered: Feb 2003
Distribution: debian
Posts: 56

Rep: Reputation: 15
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).
 
Old 02-03-2004, 03:34 PM   #12
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
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.
 
Old 02-03-2004, 11:05 PM   #13
etegration
LQ Newbie
 
Registered: Jan 2004
Posts: 26

Original Poster
Rep: Reputation: 15
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.
 
Old 02-03-2004, 11:06 PM   #14
etegration
LQ Newbie
 
Registered: Jan 2004
Posts: 26

Original Poster
Rep: Reputation: 15
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?
 
Old 02-04-2004, 03:43 AM   #15
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
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'.



Last edited by mossy; 02-04-2004 at 03:56 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh problem: one user is allowed the other is refused! levent.ozkan Linux - Networking 5 10-05-2005 02:34 PM
Firefox - specify platform - Linux not allowed SirAeryn Linux - Software 8 09-16-2005 12:12 AM
Linux Host no Root login allowed or so it says? Other Linux Distros? mattnedgus Linux - Newbie 6 02-24-2005 04:22 PM
ssh logins not allowed - keyboard something student04 Linux - Networking 10 01-04-2005 05:03 AM
ssh access allowed only to root user? zovres Linux - Newbie 5 09-25-2003 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration