When I use ssh command to log in to a remote shell, my local user name is used and only password (or a certificate passphrase) is requested. How do I login as a different remote user without adding this user on my local PC?
|
feedback
|
|
Use
or
Either one works. | |||
|
feedback
|
|
I normally use slogin instead of ssh - the difference is minimal (both are parts of OpenSSH). With slogin you use this form:
slogin was designed to replace rlogin (thus the name). This should work almost anywhere that OpenSSH is installed (technically, you don't need to install the r* replacements, but they usually are...) One more thing: you can configure OpenSSH to use a particular user name when you log into a remote host - like so (in
Then use ssh like so:
(will log in as mpotts). The example for | |||||
feedback
|
|
| |||
|
feedback
|