Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th October 2007, 10:27 AM
pobbz Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 190
[SOLVED] Can't access F7 box with sftp or scp

EDIT3: The problem below solved. It was due to a stupid mistake from my end. I got a funny idea of having a different fortune printed each time I log in, so I added a script under /etc/profile.d that prints a fortune at login.

However, sftp and scp aren't expecting to see a fortune after a successful login...


Hello, fellow Fedorans.

I have a problem with accessing my box from the outside world with both sftp and scp.

This is what I get:
Code:
scp: warning: ssh_packet_wrapper_input: invalid packet received: len 1113941619 closing the offending input channel.
Ssh'ing to my box works perfectly. Also the /var/log/secure on my box shows a session being opened and the subsystem request for sftp being made. No errors seem to be present in the logs. The connection is terminated with above message right after I give the password. Only the indicated packet length seems to vary.

Could someone help me out here?

EDIT: As a side note, for a second I was thinking that someone is trying to eavesdrop on the wire (you know, man-in-the-middle), but soon abandoned such worries as ssh'ing works perfectly.

EDIT2: The above message appears on a unix box, from which I tried accessing my box. However, when I tried sftp'ing to localhost on my box, I got this:
Code:
Received message too long 1164731747
I'm totally confused here.

Last edited by pobbz; 19th October 2007 at 11:01 AM.
Reply With Quote
Reply

Tags
access, box, scp, sftp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sftp creating restricted shell for sftp only 105547111 Using Fedora 3 29th May 2007 02:14 AM
chroot accounts with sftp access fusi0n Security and Privacy 3 10th November 2006 02:03 AM
ssh, sftp chenyu468 Servers & Networking 1 21st May 2006 10:32 PM
SSH SFTP User access johnk Servers & Networking 3 3rd October 2005 04:43 AM


Current GMT-time: 23:15 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat