Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-09-2005, 06:30 PM   #1
LQ Newbie
Registered: Dec 2004
Posts: 8

Rep: Reputation: 0
Smile publishing fails using SFTP

I had a difficult time getting to publish my blog to my host using SFTP. I was receiving the following error message:

"005 Unable to connect to SFTP server: Session.connect: Read timed out".

Oddly I was able to connect using my own SFTP client. When I went to run SSHD in debug mode to see if I could find any hints of the problem I had to stop the normal SSHD and XINETD from running. I ran SSHD in debug mode and published without any problem. So I started SSHD and XINETD again and published without any problem too!

I guess the Microsoft Windows method of solving problems (i.e. turn off the car, roll up the windows, start the car again) works in Linux sometimes too.
Old 04-09-2005, 09:59 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
From the sequence of events, it sounds like sshd wasn't running when you started. Is it set to auto-start on boot? Did it fail in startup for some reason (check your logs). Unlike Windows, you can always get the root cause in Linux if you're willing to work on it. You have everything the software developer has (source code and compiler).
Old 04-09-2005, 10:48 PM   #3
LQ Newbie
Registered: Dec 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Macemoneta - Thanks for the help. I think sshd had to have been running because otherwise I wouldn't have been able to SFTP to the host from my own SFTP client. It is set to autostart on boot. When I went to shutdown sshd the control panel indicated that it was running. I figured out how to view the log but that was only after I decided to restart the sshd. Anyway it works now!


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
How do I use sftp to upload my web site? (no sftp tar command) johnMG Linux - Networking 6 06-21-2005 10:14 PM
Blogger? mikeshn General 4 09-03-2004 07:49 PM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 11:29 AM
gaim-blogger! Install? Micro420 Linux - Software 2 12-17-2003 05:00 PM
Desktop Publishing mpooley Linux - Software 10 12-03-2002 03:44 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:04 AM.

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