How to handle having different usernames on various systems
If your username (login) is different between your remote and Duke Statistics accounts, you will need to use the some additional flags for bothssh
and scp
. For example, if your
Duke Statistics username is "jimbo" but your remote userid is "jtkirk", you
would use the following syntax
- for
ssh
From To Command remote Duke Statistics ssh -l jimbo isdsmachine
Duke Statistics remote ssh -l jtkirk remote
- for
scp
Location Copy From To Command remote remote Duke Statistics scp myfile jimbo@isdsmachine:
remote Duke Statistics remote scp jimbo@isdsmachine:myfile .
Duke Statistics Duke Statistics remote scp myfile jtkirk@remote:
Duke Statistics remote Duke Statistics scp jtkirk@remote:myfile .