Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

SCP problem

  • 23-10-2003 1:28pm
    #1
    Closed Accounts Posts: 7,230 ✭✭✭


    well it's actually pscp.exe. Ok i'm on the college network, i have beside me my linux box, and i'm on a windows one here. I wanna scp a file from linux box to windows box so i downloaded pscp.exe. I get this error when doing so:
    Beware this is verbose!

    "C:\>pscp -v username@10.5.29.54:$HOME/asdf.txt c:\asdf.txt
    Looking up host "10.5.29.54"
    Connecting to 10.5.29.54 port 22
    Server version: SSH-1.99-OpenSSH_3.4p1
    We claim version: SSH-1.5-PuTTY-Release-0.53b
    Using SSH protocol version 1
    Received public keys
    Host key fingerprint is:
    <snip>
    Encrypted session key
    AES not supported in SSH1, skipping
    Using Blowfish encryption
    Trying to enable encryption...
    Successfully started encryption
    Sent username "username"
    username@10.5.29.54's password:
    Sending password with camouflage packets
    Sent password
    Authentication successful
    Started session
    Connected to 10.5.29.54

    Sending file modes: C0644 0 asdf.txt
    Fatal: Protocol error: Expected control record
    Sent EOF message

    C:\>"

    Anyone know what's wrong?


Comments

  • Registered Users, Registered Users 2 Posts: 112 ✭✭quinta


    in the sshd_config on the server. Is it set to accept version 2 and 1 of the ssh protocol? From the Header it only seems to accept version 2. 1.99 is actually still part of version 2 of the protocol.


  • Registered Users, Registered Users 2 Posts: 2,281 ✭✭✭DeadBankClerk


    have you tried using winscp 3? it's nice.


  • Registered Users, Registered Users 2 Posts: 1,862 ✭✭✭flamegrill


    Originally posted by quinta
    in the sshd_config on the server. Is it set to accept version 2 and 1 of the ssh protocol? From the Header it only seems to accept version 2. 1.99 is actually still part of version 2 of the protocol.

    Thats not the case, when 1.99 is seen it will accept either protocol 1 or 2.

    When the following appears its version 2 only.

    debug1: Remote protocol version 2.0, remote software version OpenSSH_3.1p1

    I use normal scp from the command line, not sure about pscp. But it works fine and dandy :)

    Do

    scp -v user@host:~/file.txt c:\file.txt

    Afair $HOME work, it mite. but ~/ makes more sense and I know it works.

    Paul


Advertisement