Scp, sftp, sshfs and mc will all honour the aliases you have in your ~/. HINT: To emulate the F-keys for mc in your terminal you can use the Esc+ 1.9 sequences. Left > Shell link and enter your remote host either as or the alias you configured in your ~/.ssh/config (don't forget the trailing colon at the end.) Once installed, run Midnight Commander by launching mc from your terminal, then from the menu pick e.g. Ingrese su información en los campos respectivos. Haga clic en el ícono + en la parte inferior derecha de la pantalla. Para usar las capacidades FTP de MacFUSE, necesitará descargar e instalar Macfusion. If you want a simple text GUI then you also have the option of Midnight Commander: brew install mc Descargue, instale y configure Macfusion. Now you can use Finder > menu item Go > Connect to Server and connect via the name as displayed in the system prefs Sharing dialog, e.g. IF the remote host is a Mac then under System Preferences > Sharing > File Sharing must be enabled. Connecting with Finder over sambaįinder does not support OOTB mounting over ssh, but you can use samba instead. The remote folder is relative to the home, therefore to copy a file/folder to ~/.config on the remote host you can use: scp -r mydir -r flag stands for recursive and is needed to recursively copy folders not necessary for single files. Scp -r mydir the remote host is a Mac, then under System Preferences > Sharing > Remote Login must be enabled. Scp -r mydir copy 'mydir' on the local machine to the '/tmp' folder on the remote Then you can download MacFusion, double click on the dmg and drag the application into your Applications folder. # copy 'mydir' on the local machine to the home folder on the remote How do I install MacFusion First, you neeed to install Googles MacFuse package from here: MacFuse. OOTB you can copy a file or a folder recursively over ssh with: Now you should be able to mount your remote to a local folder: sshfs -p 22 ~/your-local-mount-folder -oauto_cache,reconnect,defer_permissions,noappledouble,negative_vncache,volname=my_sshfs_mountĪnd now you should be able to browse the remote system with finder: open ~/your-local-mount-folder. Also you might need to grant permissions for the extension to work. Make sure you reboot your mac after installing osxfuse. If you do want to be able to use Finder to access remote systems over SSH then you will need osxfuse and sshfs: brew install osxfuse sshfs Using Finder to connect to a remote host over SSH
0 Comments
Leave a Reply. |