Hot answers tagged

5

secure shell, ssh, is a command line based method of talking to another computer. By default, there is no graphical interface associated with ssh. Speed The speed of your upload is probably limited by your Internet connection. The protocol used to transfer the files will make a difference but it may not be significant. Domestic quality Internet ...


5

You can stop the ssh service by typing the following: $ sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist To start it again, use this: $ sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist


2

Shouldn't there be a window showing available files both local and remote server? Shouldn't I be able to drag and drop from local to specific folder on server? I think what you are looking for is an SCP or SFTP (secure copy or secure FTP) with a GUI. SSH (secure shell) is a Terminal or command line interface to your system - it's not a file ...


2

This behavior can be disabled in Terminal -> Preferences... -> Profiles -> Keyboard by unchecking Scroll alternate screen It's indicated: When the alternate screen is displayed, send input instead of scrolling the terminal view. Press Shift to temporarily reverse this setting. When I'm trap in the two fingers history scrolling mode, ...


2

Simply add aliases in ~/.bash_profile: If the file .bash_profile doesn't exist: touch ~/.bash_profile Then add aliases with nano ~/.bash_profile. Examples: alias ssh01='ssh xyx@xy' alias ssh02='ssh -NC user@xy -L 9999:localhost:3306' Then source the file or restart Terminal.app: source ~/.bash_profile Entering ssh01 in the shell will then execute ...


2

After adding a port-forwarding rule (e.g. SSH TCP 10.0.0.10 2222 10.0.2.15 22) enter in the host's Terminal.app: ssh user_name@host-ip -p forwarded_port Example with the rule above: ssh user_name@10.0.0.10 -p 2222 Don't use identical ports in the rule (host's port ≠ guest's port) like in your screenshot. user_name has to be the name of a remote ...


1

You can use ForwardAgent option in ~/.ssh/config, if it is allowed on server by option AllowAgentForwarding (in sshd_config). Or just simply with a switch -A to ssh. It will forward connection to your agent to the server and you will be able to authenticate to github.


1

In El Capitan you should use: ssh-keygen -E md5 -lf ~/.ssh/id_rsa


1

It's unclear what you really mean with communicate! If you want to have a chat-like communication enable ntalk on both hosts: sudo launchctl load -w com.apple.ntalk Then enter talk user@host to open a chat session. To enable the chat session on the other side just enter the displayed command e.g. talk otheruser@otherhost This might fail if the ...


1

So not sure how you created the user but if you are expecting a locally cached home directory, and this is not a network account, you will want to user commands like the following to create the user account: Credit for Script: http://wiki.freegeek.org/index.php/Mac_OSX_adduser_script dscl . -create /Users/$USERNAME dscl . -create /Users/$USERNAME UserShell ...


1

A better way to do it is save the selection in a temporary file and use tmux load-buffer command to load it into the paste buffer, and then C-b ] to paste. Otherwise you may have problems with long text lines that don't fit into the screen. Also, tabs might not be preserved and long lines may be broken down. I have to mention another (easier) way to do it ...



Only top voted, non community-wiki answers of a minimum length are eligible