Rsync over SSH, who does the remote machine think I am

Neil_UK

When rsync'ing over SSH to a remote system, who does the remote system think I am? I would have expected that as I rsync'd to [email protected], and then typed in user's password for that machine, I would look like, and have the privileges of, user on that machine, just as if I had logged in over SSH as user.

I have a file server machine running Mint 18 with some Tbyte disks that I use as a backup/archive, and rsync to periodically from my Mint desktop. In order to rescue files from my son's viralised win10 laptop, I started it from a Mint stick and attempted to rsync files to the server, but it failed with a write premissions error.

Did it think I was user, or does my identity from the client machine contaminate things at all? I didn't attempt to troubleshoot, but simply used a USB HD instead. Before I do try to understand it (for next time) what should I expect? What should I have done?

roaima

Assuming rsync over ssh,

  • An rsync target of remotehost: will use your local username to log in to remotehost unless the default has been changed in your local machine's ~/.ssh/ssh_config.

  • An rsync target of remoteuser@remotehost: will use remoteuser to to log in to remotehost.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

rsync all files of remote machine over SSH without root user?

From Dev

"who am i" in ansible and over ssh outputs nothing

From Dev

rsync remote files over SSH to my local machine, using sudo privileges on local side, and my personal SSH key

From Dev

How to wget a file to a remote machine over SSH?

From Dev

Does rsync over ssh require use of UDP?

From Dev

rsync -- command-line for syncing from local to remote over ssh

From Dev

Copying multiple files from remote using rsync over ssh

From Dev

Copying multiple files from remote using rsync over ssh

From Dev

bypassing .bashrc while rsync-ing a remote directory over ssh

From Dev

rsync with remote sudo fails over ssh on Ubuntu Mate 18.04.2

From Dev

Run jar on remote machine as background process over ssh

From Dev

how to copy a file over ssh from a remote machine?(linux to windows)

From Dev

Upload file over ssh and execute command on the remote machine

From Dev

Determine remote machine`s account name of the user logged in over SSH

From Dev

asking to questions from remote machine while running commands over ssh

From Dev

Run 7z on a remote machine over ssh

From Dev

SSH into remote machine, run find command, then rsync the results of the find back to the local machine?

From Dev

Rsync over SSH path with spaces does not work with quotes

From Dev

Who am I when ssh connected to another computer

From Dev

Who am I when ssh connected to another computer

From Dev

How can I track who SSH'es into my linux machine?

From Dev

Rsync with SSH prompting for remote password

From Dev

rebooting then ssh to remote machine

From Dev

I can ssh into a remote machine but I can't use scp to copy local stuff to the remote machine

From Dev

Shell script: ssh to remote machine, then exit: 'exit' does not work

From Dev

Rsync over ssh, or something else?

From Dev

RSYNC over SSH requesting password

From Dev

Does scp over cp matter when copying to a remote SSH location?

From Dev

How can I rsync from a server that is accessible via ssh *via a remote login server* to my local computer that does not have an external I.P. address?

Related Related

  1. 1

    rsync all files of remote machine over SSH without root user?

  2. 2

    "who am i" in ansible and over ssh outputs nothing

  3. 3

    rsync remote files over SSH to my local machine, using sudo privileges on local side, and my personal SSH key

  4. 4

    How to wget a file to a remote machine over SSH?

  5. 5

    Does rsync over ssh require use of UDP?

  6. 6

    rsync -- command-line for syncing from local to remote over ssh

  7. 7

    Copying multiple files from remote using rsync over ssh

  8. 8

    Copying multiple files from remote using rsync over ssh

  9. 9

    bypassing .bashrc while rsync-ing a remote directory over ssh

  10. 10

    rsync with remote sudo fails over ssh on Ubuntu Mate 18.04.2

  11. 11

    Run jar on remote machine as background process over ssh

  12. 12

    how to copy a file over ssh from a remote machine?(linux to windows)

  13. 13

    Upload file over ssh and execute command on the remote machine

  14. 14

    Determine remote machine`s account name of the user logged in over SSH

  15. 15

    asking to questions from remote machine while running commands over ssh

  16. 16

    Run 7z on a remote machine over ssh

  17. 17

    SSH into remote machine, run find command, then rsync the results of the find back to the local machine?

  18. 18

    Rsync over SSH path with spaces does not work with quotes

  19. 19

    Who am I when ssh connected to another computer

  20. 20

    Who am I when ssh connected to another computer

  21. 21

    How can I track who SSH'es into my linux machine?

  22. 22

    Rsync with SSH prompting for remote password

  23. 23

    rebooting then ssh to remote machine

  24. 24

    I can ssh into a remote machine but I can't use scp to copy local stuff to the remote machine

  25. 25

    Shell script: ssh to remote machine, then exit: 'exit' does not work

  26. 26

    Rsync over ssh, or something else?

  27. 27

    RSYNC over SSH requesting password

  28. 28

    Does scp over cp matter when copying to a remote SSH location?

  29. 29

    How can I rsync from a server that is accessible via ssh *via a remote login server* to my local computer that does not have an external I.P. address?

HotTag

Archive