New answers tagged

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 ...


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 ...


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 ...


0

I have run into the same issue and my solution is to use tmux instead of vim in these instances. 1) enter copy mode using Control+b [ 2) navigate to beginning of text, you want to select and hit Control+Space 3) move around using arrow keys to select region 4) when you reach end of region simply hit Alt+w to copy the region 5) now Control+b ] will paste ...


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 ...


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

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, ...


0

Another interesting finding is if you copy & paste the content of the PEM file, you might have the ending missing the dash. So just remember to add the final line as, -----END RSA PRIVATE KEY-----


0

There was a similar question on SuperUser here on SE. If you have still have access to your old Mac and you can successfully login into whatever services require your id_rsa cert with your passphrase saved in Keychain, you should be able to get the passphrase with no problem. Basically, you should be able to see the passwords by selecting Show Password ...


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

You can ssh into another Mac by typing into the terminal: ssh [ip address of other mac] When prompted type in the username and password. You should be able to connect to the terminal of the other Mac.


1

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


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

This behavior is controlled by option GatewayPorts (off by default). From manual page for ssh_config: GatewayPorts Specifies whether remote hosts are allowed to connect to local forwarded ports. By default, ssh(1) binds local port forwardings to the loopback address. This prevents other remote hosts from connecting to forwarded ports. ...


0

Strangely, the server did finally shutdown a few hours later. I verified the time zones are in-sync so not sure what the root cause was.



Top 50 recent answers are included