Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SFTP Server errors [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
podollb
Apprentice
Apprentice


Joined: 05 May 2005
Posts: 190

PostPosted: Tue Sep 13, 2005 2:46 pm    Post subject: SFTP Server errors [SOLVED] Reply with quote

I use ssh to get into my home computer without problems. But I have problems if I try to use a application such as WinSCP where it says:

Cannot initialize SFTP protocol. Is the host running a SFTP server?
Received too large (172192353 B) SFTP packet. Max supported packet size is 102400 B.
The error is typically caused by message printed from startup script (like .profile). The message may start with "0x0A437261".

Anyone know what that error means?


Last edited by podollb on Wed Sep 21, 2005 4:58 am; edited 1 time in total
Back to top
View user's profile Send private message
podollb
Apprentice
Apprentice


Joined: 05 May 2005
Posts: 190

PostPosted: Tue Sep 13, 2005 3:46 pm    Post subject: Reply with quote

I found out what was causing my problems, but I still need to try to fix it...
I found this website: http://winscp.net/eng/docs/messages
And it made me realize that my ssh login script .tcshrc was echo'ing a fortune message...
Code:
echo
fortune
echo
When I commented that out it all works great... So how can I get around that? I know the fortune isn't needed but it was nice to have that to read once in awhile... Just to be clear, my problem is that I CAN ssh to my home PC without any problems with or without the fortune turned on, but sftp isn't possible with the fortune on. So is there a way to supress the fortune by detecting if it is an sftp connection?
Thoughts?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum