LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2006, 03:01 PM   #1
javier_ccs
Member
 
Registered: Apr 2005
Location: Milton Keynes
Distribution: ubuntu 12.10
Posts: 90

Rep: Reputation: 15
allow ssh, scp and sftp?


hello...

i have a server wich allows me to connect via ssh, however i cant scp nor sftp...

how can i allow scp and sftp?

thanks for your kind answers....
 
Old 09-11-2006, 03:06 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
They all use the same ssl protocol on port 22 (usually).

Exactly what is happening when you try to scp or sftp? What does /var/log/messages on the target host show when you do the attempt?
 
Old 09-11-2006, 03:11 PM   #3
javier_ccs
Member
 
Registered: Apr 2005
Location: Milton Keynes
Distribution: ubuntu 12.10
Posts: 90

Original Poster
Rep: Reputation: 15
im trying to access via winscp, and everytime i get the same error:

a popup window that says:
network error: connection timeout

nothing on /var/log/messages

i can connect via telnet
 
Old 09-11-2006, 03:50 PM   #4
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
Make sure there is no firewall blocking port 22. If you have a router, forward port 22 to the ssh server. Make sure the client is not listed in /etc/hosts.deny. Add the client maching to /etc/hosts.allow. Make sure the ssh daeomon is running:
Code:
ps -e|grep ssh
 
Old 09-12-2006, 07:05 AM   #5
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
You might want to check if sshd on Linux is configured for sftp: grep -i subsys /etc/ssh/sshd_config.
This should indicate if sftp subsystem is configured.

Next, you might want to try sftp'ing or scp'ing on the Linux box itself. If that works, then the problem is either network access or the Windows side.

Finally, post your winscp settings and the telnet command you were using.
Btw, the telnet command should be something like "telnet your_linux_host 22". If you left out the "22" at the end, you should see if your sshd daemon (service) is actually running (as suggested above).
 
Old 09-12-2006, 07:44 AM   #6
javier_ccs
Member
 
Registered: Apr 2005
Location: Milton Keynes
Distribution: ubuntu 12.10
Posts: 90

Original Poster
Rep: Reputation: 15
sorry folks, it was an access problem...

that's why i didn't saw any logs on the linux box...

thank you all
 
Old 09-12-2006, 08:11 AM   #7
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You might want to provide details of the access problem so anyone searching the forum in future will know what to look for.
 
  


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
SFTP with Chrooting and without SSH and SCP toraghun Linux - Security 1 07-10-2006 05:11 AM
Concepts/Security types/ Setup: OpenSSH/sshd/ssh/scp/sftp Caud Pong Linux - Security 5 09-23-2004 06:51 AM
SSH - where are scp and sftp satimis Linux - Networking 2 11-15-2003 10:27 AM
scp vs. sftp . . . zthomasz Linux - Security 2 07-08-2003 08:26 AM
ssh working, but not sftp scp hardigunawan Linux - Networking 2 05-02-2003 02:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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