Size: 1083
Comment:
|
← Revision 9 as of 2025-02-16 10:41:44 ⇥
Size: 1091
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 42: | Line 42: |
sshfs user@host.example.org:/home/user remotesshfsfolder/ | sshfs user@host.example.org:/home/user remotesshfsfolder/ -p 1234 |
Contents
SSH
Generate local key to access remote host
On client:
On SSHserver:
Login from the client with ssh userx@remote.example.org should ask for not password. Useful to invoke commands remotely using ssh
Copy file to SSH server listening on different port
1 scp -P 2222 filex userx@sshserver.example.org:/home/userx
Add listening ports on Ubuntu
Edit file /etc/ssh/sshd_config to set port 22 and 1234
Restart service with service ssh restart
SSHFS
Ability to mount a user filesystem with FUSE on a remote SSH folder