Menu

#1 scp/sftp incoming not working

open
nobody
None
5
2006-09-15
2006-09-15
kiko
No

Hi,

I use sudosh as login shell for my user, when I try
to "scp" or
"sftp" a file to this user
I received a "Connection closed" or a "lost connection"

# sftp user@xx.xx.xx.xx
Connecting to xx.xx.xx.xx...
Password:
Connection closed

# scp <file> user@xx.xx.xx.xx:/tmp
Password:
lost connection

At the same time, it's not a problem to log in by
using "ssh" with
the same ID.
If change back login shell ("sh" in my case), "scp"
works as
expected.

I use eas-2.0.00 on solaris 10

Can semone Help me ?

Thanks

Discussion

  • redcorjo

    redcorjo - 2007-03-13

    Logged In: YES
    user_id=1742292
    Originator: NO

    this problem is also extended to the ssh -X capability used to forward X display cookies.

     
  • Nobody/Anonymous

    Logged In: NO

    I use sudosh as login shell for my user and when try to "sftp", I received a "Couldn't read packet: Bad file number" error.

    Can semone help me?

    Jorge.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.