Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-28-2004, 02:15 AM   #1
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.

Old 04-28-2004, 02:52 AM   #2
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:
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.


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

All times are GMT -5. The time now is 11:58 PM.

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