[newbie] ssh problem?
I'm trying to get CVS to work from my linux box across to the server which is running hpux and I get this error. I thought my problem was that ssh was not installed on the hp machine. It now is installed but I still get the following error. ssh: connect to address a.b.c.d port 22: Connection refused I tried watching the packets in ethereal but it didn't give me any info that helped. Is something not running? Have I configured something wrong? How can I determine if the problem is my box or the other box? TIA Jeanie Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] SSH problem
Barry, Sounds like telnet has been disabled on the linux side, but ssh is going to work for you. This is a much better solution (much more secure). Just download putty from: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html and you should be in business. There are other W$ ssh clients you could use too, but putty seems popular and it works very nicely for me. Click on the ssh radio button and just type in your host name or ip and you should get a login prompt. HTH Brian On Tue, 2002-03-26 at 16:25, Barry Michels wrote: I'm new to Linux, hence the subscription to [newbie]... This weekend I installed Mandrake in a VMWare virtual machine. It runs well, using only 20MB of my hosts' ram. But, I'd like to telnet into it remotely as VNC doesn't work well with screen updates of virtual machines. Using telnet on my XP machine to access port 22 results in a blank screen and a disconnect in a few seconds. The log shows 'sshd refused connect from 140.150.160.2' (my XP machine's intranet address). After several hours searching, I'm no closer to figuring out what's going on. Although, I am learning a LOT about interacting with Linux from the command line. BTW, the purpose of this virtual machine is to get more comfortable with Linux before dedicating real hardware for a web server. The Apache server with PHP is already running at: www.barrymichels.com Thanks, Barry Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] SSH problem
Howdy Barry, You seem to be using telnet and ssh interchangabley when they're not. SSH is secure, while telnet is not, and SSH uses port 22, while telnet uses port 23. I recommend using SSH. Now, the box that you're ssh'ing to must specifically allow ssh connections, which is configured independently of the ssh daemon. Instead, you must add the following lines to /etc/hosts.allow: sshd sshd1 sshd2 : ALL : ALLOW Give that a shot and let us know if that does the trick. Miark Barry Michels [EMAIL PROTECTED] spoke thusly: But, I'd like to telnet into it remotely as VNC doesn't work well with screen updates of virtual machines. Using telnet on my XP machine to access port 22 results in a blank screen and a disconnect in a few seconds. The log shows 'sshd refused connect from 140.150.160.2' (my XP machine's intranet address). After several hours searching, I'm no closer to figuring out what's going on. Although, I am learning a LOT about interacting with Linux from the command line. BTW, the purpose of this virtual machine is to get more comfortable with Linux before dedicating real hardware for a web server. The Apache server with PHP is already running at: www.barrymichels.com Thanks, Barry Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] SSH problem
Well, actually, I'm using SecureCRT that supports SSH, but I was using telnet just to test the connection. That suggestion fixed it. The line was in there, but I put: shhd : ANY : allow instead of: sshd : ANY : ALLOW I found that line in one of the online HOWTO's. Oh, well, I'm still learning.. Thanks, Barry - Original Message - From: Miark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 26, 2002 12:47 PM Subject: Re: [newbie] SSH problem Howdy Barry, You seem to be using telnet and ssh interchangabley when they're not. SSH is secure, while telnet is not, and SSH uses port 22, while telnet uses port 23. I recommend using SSH. Now, the box that you're ssh'ing to must specifically allow ssh connections, which is configured independently of the ssh daemon. Instead, you must add the following lines to /etc/hosts.allow: sshd sshd1 sshd2 : ALL : ALLOW Give that a shot and let us know if that does the trick. Miark Barry Michels [EMAIL PROTECTED] spoke thusly: But, I'd like to telnet into it remotely as VNC doesn't work well with screen updates of virtual machines. Using telnet on my XP machine to access port 22 results in a blank screen and a disconnect in a few seconds. The log shows 'sshd refused connect from 140.150.160.2' (my XP machine's intranet address). After several hours searching, I'm no closer to figuring out what's going on. Although, I am learning a LOT about interacting with Linux from the command line. BTW, the purpose of this virtual machine is to get more comfortable with Linux before dedicating real hardware for a web server. The Apache server with PHP is already running at: www.barrymichels.com Thanks, Barry Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] SSH problem
I used to get something similar when I tried to run MicroEmacs using the stock MS telnet client. Try setting a different terminal emulation. Miark - Original Message - From: Allen May [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 10:50 AM Subject: [newbie] SSH problem I can SSH from home to my office machine without problem, but when I try to SSH to my home from the office, it will lock up on me when the screen scrolls. I can get a connection and can move around on the machine, but if I vi or do a ls -la on a long list the session just locks up. Any idea why this would be happening? Thanks -Allen May Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] SSH Problem
Whenever I attempt to connect to my machine using ssh I get the error. ssh_exchange_identification: Connection closed by remote host Any help? I can connect to other machines, just not mine and the server is running. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] SSH Problem
On 31 Dec 2001 08:58:19 -0500 Noah Swint [EMAIL PROTECTED] studiouisly spake these words to ponder: Whenever I attempt to connect to my machine using ssh I get the error. ssh_exchange_identification: Connection closed by remote host Any help? I can connect to other machines, just not mine and the server is running. check your /etc/hosts.deny file and see if the IP address you're attempting to connect from is in that file. If it is you're being blocked. -- daRcmaTTeR - If at first you don't succeed do what your wife told you to do the first time! Registered Linux User 182496 Mandrake 8.1 - 9:05am up 15 days, 54 min, 2 users, load average: 0.08, 0.19, 0.17 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] SSH Problem
Thanks. It works now. I guess when I upped the security level the mandrake added this line to my /etc/hosts.deny # Mandrake-Security : if you remove this comment, remove the next line too. ALL:ALL EXCEPT localhost:DENY On Mon, 2001-12-31 at 09:38, daRcmaTTeR wrote: On 31 Dec 2001 08:58:19 -0500 Noah Swint [EMAIL PROTECTED] studiouisly spake these words to ponder: Whenever I attempt to connect to my machine using ssh I get the error. ssh_exchange_identification: Connection closed by remote host Any help? I can connect to other machines, just not mine and the server is running. check your /etc/hosts.deny file and see if the IP address you're attempting to connect from is in that file. If it is you're being blocked. -- daRcmaTTeR - If at first you don't succeed do what your wife told you to do the first time! Registered Linux User 182496 Mandrake 8.1 - 9:05am up 15 days, 54 min, 2 users, load average: 0.08, 0.19, 0.17 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] SSH Problem
At 01:33 PM 12/31/2001 -0500, you wrote: Everything is working now. I changed the security level and /etc/hosts.deny denied localhost connections Actually, that was everything except for 'localhost' connections, since the line you posted was 'ALL:ALL except localhost:DENY' Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] SSH Problem
On 31 Dec 2001 09:56:34 -0500 Noah Swint [EMAIL PROTECTED] studiouisly spake these words to ponder: Thanks. It works now. I guess when I upped the security level the mandrake added this line to my /etc/hosts.deny # Mandrake-Security : if you remove this comment, remove the next line too. ALL:ALL EXCEPT localhost:DENY be careful not to loosen your security so much that getting into your system is too easy. -- daRcmaTTeR - If at first you don't succeed do what your wife told you to do the first time! Registered Linux User 182496 Mandrake 8.1 - 2:05pm up 15 days, 5:54, 2 users, load average: 0.88, 0.88, 0.83 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] ssh problem
On Monday, Oct 29, 2001, Jhun Bacala wrote: After changing the security level of my LM8.1 to high, I can't no longer connect to it through ssh client. What seems to be the problem. Take a look at /etc/hosts.deny -- Paul Cox paul at coxcentral dot com Kernel: 2.4.8-31.1mdk - Uptime: 1 day 16 hours 43 minutes. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] ssh problem
Hi All, After changing the security level of my LM8.1 to high, I can't no longer connect to it through ssh client. What seems to be the problem. TIA Jhun Bacala New City Commercial Corporation MIS-Dept. Davao Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com