Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
a protocol/configure problem!?
perhaps the server (in this case the Laptop!) is configured to use SSH1 and your client uses SSH2....?SSH1 attempts to fall back to the "r"- commands when it cannot connect to a SSH daemon.
ehm...where are you logged in??
>scp participants.cgi leon@leon-fyg.utu.fi:/home/leon/
-> is from laptop to server!?!
Originally posted by overlord73 a protocol/configure problem!?
perhaps the server (in this case the Laptop!) is configured to use SSH1 and your client uses SSH2....?SSH1 attempts to fall back to the "r"- commands when it cannot connect to a SSH daemon.
How can I check which SSH protocol is used on either side?
In /etc/ssh/ssh_config everything is commented. Should I change some settings there?
Code:
# Site-wide defaults for various options
# Host *
# ForwardAgent no
# ForwardX11 no
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~
Quote:
ehm...where are you logged in??
>scp participants.cgi leon@leon-fyg.utu.fi:/home/leon/
-> is from laptop to server!?!
I am logged in at the laptop (leon-fyg.utu.fi) as user 'leon'. Then I connect to the server where my username is leobro: ssh leobro@unix.utu.fi
ssh_config is ssh-client and sshd_config is ssh-daemon!
in both files there is an entry:
Protocol 2,1 (means ´use first SSH2 then SSH1´)
----
ok, if I understand u corect, u want to copy a file from SERVER to ur LAPTOP, while ur logged in on LAPTOP. -> there´s no need to ssh to SERVER!
on laptop console:
leon-fyg.utu.fi> scp leobro@unix.utu.fi:/home/leobro/FILENAME ./
should connect to SERVER and copy the remote file to localdir!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.