Re: ssh tutorial

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

 



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

Never, usernames are different.

 
> If your username locally is USERLOCAL, then "ssh -v
> ipaddress" is
> equivalent to "ssh -v USERLOCAL@ipaddress" or "ssh -v -l
> USERLOCAL
> ipaddress"
Username is not "USERLOCAL"
 
> 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

There is no file like config in .ssh directory.
There is only one file here: "known_hosts"


> 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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux