Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
strange scp problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
m@o
Apprentice
Apprentice


Joined: 25 Nov 2003
Posts: 184
Location: /eu/at/grz

PostPosted: Thu Jan 06, 2005 4:44 pm    Post subject: strange scp problem Reply with quote

hey there!

on my server, that runs pretty well, i have sshd running (of course).
when i try to copy somthing from my home pc:
Code:
homepc$ scp file mao@myserver:www/

it lets me enter my password, but after entering that correctly there is no
file transmission.

but the other way round it works when i do the same thing like this:
Code:
myserver$ scp mao@homepc:file www/

this works.

might this be my fw?
i dont get it port 22 is free. or is there anything wrong in my config files?

thanks for any help
i'm wondering on this and trying to solve it for weeks.
m@o
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Thu Jan 06, 2005 4:49 pm    Post subject: Reply with quote

Do you have some output from your shell when you login to the server (e.g. the date, a fortune, etc)? scp doesn't like that. I use tcsh and have this in my .tcshrc (other shells will be similar tough):
Code:
    ( /usr/bin/tty ) > /dev/null
    if ( $status == 0 ) then
      # interactive output like "echo" or "fortune" goes here
    endif
    # non-interactive stuff like "alias" or "setenv" can safely go here

_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
m@o
Apprentice
Apprentice


Joined: 25 Nov 2003
Posts: 184
Location: /eu/at/grz

PostPosted: Thu Jan 06, 2005 5:11 pm    Post subject: Reply with quote

hey! :D

that's it.

linux_logo did prevent scp!!!

thanks for the help
i will miss:
Code:
                                           .
      .vir.                                d$b
   .d$$$$$$b.    .cd$$b.     .d$$b.   d$$$$$$$$$$$b  .d$$b.      .d$$b.
   $$$$( )$$$b d$$$()$$$.   d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b.  .$$$$$$$b.
   Q$$$$$$$$$$B$$$$$$$$P"  d$$$PQ$$$$b.   $$$$.   .$$$P' `$$$ .$$$P' `$$$
     "$$$$$$$P Q$$$$$$$b  d$$$P   Q$$$$b  $$$$b   $$$$b..d$$$ $$$$b..d$$$
    d$$$$$$P"   "$$$$$$$$ Q$$$     Q$$$$  $$$$$   `Q$$$$$$$P  `Q$$$$$$$P
|  $$$$$$$P       `"""""   ""        ""   Q$$$P     "Q$$$P"     "Q$$$P"
|  `Q$$P"                                  """
+--------------------------------------------------------- l  i  n  u  x 

                                  Gentoo Linux
                         Linux Kernel 2.6.7-gentoo-r14           
                  One AMD Sempron(tm) 2200+ Processor
                        Uptime 43 days 8 hours 0 minutes
                         Load Average 0.00, 0.00, 0.00


thanks again m@o
Back to top
View user's profile Send private message
penguinland
n00b
n00b


Joined: 26 Sep 2004
Posts: 50
Location: California

PostPosted: Thu Jan 20, 2005 8:57 pm    Post subject: Reply with quote

I had this same problem with fortune and scp. Thanks very much!
_________________
Flying is the art of throwing yourself at the ground and missing.

- Douglas Adams
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum