Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

when I try a scp transfer I get this error:

protocol error: bad mode

PD: I can establish a ssh connection.

share|improve this question
    
Does it make a difference if you do scp -1 or scp -2? –  Dennis Williamson Mar 12 '11 at 1:47

1 Answer 1

up vote 2 down vote accepted

the problem was a personalized welcome message of bash

share|improve this answer
3  
So what's the solution? If you can't change the welcome message, is there a way to still scp? –  Thucydides411 May 5 at 16:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.