Re: ssh tutorial

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/6/11 gmspro <gmspro@xxxxxxxxx>:
>
>> I would try
>>     ssh -v ipaddress
>
> This does not work.
> It says "permission denied" after giving the password three times.
>
>> and
>>     ssh -l abc ipaddress
> Giving the same password this works.

Is your username on the machine you are ssh'ing from the same as your
username on the machine you are ssh'ing to?

If your username locally is USERLOCAL, then "ssh -v ipaddress" is
equivalent to "ssh -v USERLOCAL@ipaddress" or "ssh -v -l USERLOCAL
ipaddress"

If your usernames are the same, then the only way I can see "ssh
ipaddress" failing while "ssh -l username ipaddress" succeeds is if
your .ssh/config file has a specific username for that machine set -
something like this:
# cat .ssh/config
Host 			        1.2.3.4
User 			remoteuser

The -l argument to ssh would override that, but without the -l you
would be trying to "ssh -l remoteuser 1.2.3.4"

-- 
Sam

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux