View previous topic :: View next topic |
Author |
Message |
m@o Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/76518719643c63dd20fd38.jpg)
Joined: 25 Nov 2003 Posts: 184 Location: /eu/at/grz
|
Posted: Thu Jan 06, 2005 4:44 pm Post subject: strange scp problem |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
papal_authority Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/101649746447a8e5f5d66a5.png)
Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Thu Jan 06, 2005 4:49 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
m@o Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/76518719643c63dd20fd38.jpg)
Joined: 25 Nov 2003 Posts: 184 Location: /eu/at/grz
|
Posted: Thu Jan 06, 2005 5:11 pm Post subject: |
|
|
hey!
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 |
|
![](templates/gentoo/images/spacer.gif) |
penguinland n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/33495088241f2a077cc5d3.jpg)
Joined: 26 Sep 2004 Posts: 50 Location: California
|
Posted: Thu Jan 20, 2005 8:57 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|