Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-21-2004, 02:17 AM
|
#1
|
Member
Registered: Apr 2004
Location: Spain
Distribution: Debian (Woody+Sarge)
Posts: 54
Rep:
|
ssh not connecting to a remote machine.
Hi again you guys......
I have this little problem that I almost feel ashamed to bother you guys with.
I have a Debian Woody and a Mandrake 10 machines and I want to copy some archives from one machine to another - the thing is that one of these cannot copy (scp) or connect (ssh) to the other, the error I get is:
"port 22: connection refused"
I deleted the ip address that existed in the file '.ssh/known_hosts' - plus I added the correct ip address from the remote machine to the '/etc/hosts_allow' file.
What am I missing?
Thanks
|
|
|
09-21-2004, 07:23 AM
|
#2
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi
if u cold portscan the other machine to find out whether the port 22 was open by
nmap <ipaddress>
or see if any firewall is running
regards
|
|
|
09-21-2004, 09:54 AM
|
#3
|
Member
Registered: Apr 2004
Location: Spain
Distribution: Debian (Woody+Sarge)
Posts: 54
Original Poster
Rep:
|
Thanks for the hint.
Just tell me, if that is the case, how can I open the port - what command do I use? Or program?
Thank you again"!
|
|
|
09-21-2004, 10:00 AM
|
#4
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
hi there
first see if ssh is runnig on that machine by
service ssh startus
or
service sshd status
if it is running ,then se what firewall u r using and u need to edit ur firewall scrippt for that
regards
|
|
|
09-21-2004, 05:17 PM
|
#5
|
Member
Registered: Aug 2003
Location: Belgium
Distribution: -- Slackware for servers -- Debian for desktops --
Posts: 124
Rep:
|
another check to be made
Also check your sshd_config, if you reconfigged the sshd server to listen to port 110 for example it won't listen to port 22
it should be located in /etc/sshd/sshd_config
grtZ
|
|
|
09-22-2004, 05:44 AM
|
#6
|
Member
Registered: Apr 2004
Location: Spain
Distribution: Debian (Woody+Sarge)
Posts: 54
Original Poster
Rep:
|
Sorry guys - I really feel a fool for not considering this sooner - but the problem was that i did not have the ssh program installed.
But thank you all for your time in helping a friend.
Thanks again"!
|
|
|
All times are GMT -5. The time now is 09:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|