LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-28-2004, 01:15 AM   #1
henriette
LQ Newbie
 
Registered: Sep 2003
Location: Copenhagen
Distribution: MDK 10;Ubuntu 5.04
Posts: 25

Rep: Reputation: 15
Question Problems with SSH / SCP


Hi. I'm having some trouble with SSH / SCP.
I have to machines, one running Linux Mandrake 9.1 and another running some sort of Unix....I can transfer files (using scp) and SSH from the linux machine to the unix machine, but not the other way around. When trying to connect to the linux machine I get: Secure connection to <machine> refused. So I guess I need to set up some sort of server? or change something in a setup file? Help.

-Henriette
 
Old 04-28-2004, 01:52 AM   #2
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
either you dont have sshd(the ssh deamon/server) not running/installed or you have a firewall blocking port 22(defualt port for ssh connections).
If it is the former..install the ssh deamon/server on your machine.If it is installed(i think you can check it by this command...well it works for red hat systems:
Code:
rpm -qa | grep ssh
)
If this produces a result then you have ssh installed.You then need to check if sshd is running.You can check that using this command:
ps -ef | grep sshd
if it gives an output then you have sshd running and your problem is firewall based.If nothing is running then you will need to start the sshd server.You can do this by issuing this command:
/etc/init.d/sshd start
Well i know that all these deamon scripts are placed in /etc/init.d.I am not sure if they are placed in the same location on mandrake or not.
Well i hope this helps you.
 
  


Reply



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 scp question shanenin Linux - Networking 3 10-14-2004 12:26 AM
Ssh/scp Gui MattLaw Linux - Networking 2 02-18-2004 04:45 PM
SSH - where are scp and sftp satimis Linux - Networking 2 11-15-2003 10:27 AM
ssh scp problem ckupris Linux - Networking 6 10-11-2003 05:17 PM
sshd, ssh, scp, help Stimm Linux - Security 3 03-25-2001 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:42 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
Open Source Consulting | Domain Registration