View previous topic :: View next topic |
Author |
Message |
podollb Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 05 May 2005 Posts: 190
|
Posted: Tue Sep 13, 2005 2:46 pm Post subject: SFTP Server errors [SOLVED] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
podollb Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 05 May 2005 Posts: 190
|
Posted: Tue Sep 13, 2005 3:46 pm Post subject: |
|
|
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...
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 |
|
![](templates/gentoo/images/spacer.gif) |
|