0
votes
1answer
20 views

Enable SSH into Mac Desktop from Mac Laptop ONLY for one user

I'm trying to enable SSH on my desktop in System Preferences/Sharing without "Allow access for All users." I just want to allow access for my admin account on my laptop. They're on the same network. ...
2
votes
2answers
85 views

Password-less SSH not working with Mac OS X 10.9.5 Mavericks

I cannot get password-less logins working on my Mac OS X 10.9.5 Mavericks machine. I can login to a remote Ubuntu box after setting up the authorized_keys file properly. However, I cannot do there ...
-1
votes
2answers
30 views

SSH Keep Commands Running [duplicate]

If I SSH into another machine from my macbook, start compiling a very large project, and then power off my macbook, will the compiling continue on the remote machine despite having lost connection to ...
0
votes
1answer
29 views

Using a .PEM key without a password on OSX, but asking for password

I have a PEM key named relatient2.pem that I was given by a client I'm working for. I've already put it in my ~/.ssh folder and have given it permissions of 600. When running: ssh ...
0
votes
0answers
19 views

Mac OS X 10.9 managing several identities for ssh-agent

IS: I need to use several private keys, which are stored under ~/.ssh to connect to remote hosts. That is, only one of them (stored in id_rsa) is read by ssh-agent when it starts with defaults, as ...
0
votes
2answers
40 views

Don't have permission for .ssh folder and the keys inside, despite being owned by me

On my Mac, I can't use git (and consequently Heroku) because of incorrect file permissions. The root user can access them fine, but my user cannot, despite me owning it and it being in my home ...
1
vote
1answer
29 views

screencapture command on mac fails silently when sshed in

I'm trying to tinker with a machine where I can only connect via shell. I don't have physical access and can't access VNC (maybe that's another question). I'm trying to take a screenshot right now to ...
0
votes
0answers
13 views

Mac Terminal - Color Co-ordinated

I would like to create a couple of short cuts on my iMac which ssh on to my dev box and on to my prod box. I would like my dev connection to use the settings something similar to home-brew (green text ...
0
votes
0answers
59 views

use sock proxy in command line

I set up the sock proxy using ssh with Secrete socks successfully and I can visit the web site that is blocked previously (say youtube, Yes, I live in China). The problem is I still have issue in ...
0
votes
2answers
86 views

Unable to scp from remote to local Mac

I have gone over SU and SO posts looking for a way to get this to work, but I'm about to put up my hands and stick with a GUI. I want to scp a ZIP file from a remote server to my local machine. I can ...
0
votes
1answer
30 views

Mac OS X set terminal name that persists after SSHing somewhere else

I try advice like this that recommends adding the following to your .profile: function tabname { printf "\e]1;$1\a" } So you can type tabname brokenbox to name your tab. The problem is as soon ...
0
votes
2answers
42 views

Rsync folders automatization

I've got a folder on the remote server, to which I'm connecting via SSH. When I need to synchronise folders I'm using manually access via scp. (I'm synchronising my folder with the folder on the ...
0
votes
0answers
25 views

Automatic ssh tunnel

I am looking for an easy way to automate my ssh tunnels. Basically I want a local daemon listening a series of local ports. If one program sends traffic to that port, the daemon should start a SSH ...
0
votes
2answers
46 views

Using same ssh key for Parallels

I have a Mac and am running Parallels that has Windows 7 on it. I have an ssh key that I use to connect to github. When I go to my Parallels/Windows 7 and try to do ssh -T git@github.com I get ...
0
votes
0answers
57 views

SSH into Mac Mini as user but not getting same access to files?

Ok, so I've got nginx, mysql, and php-fpm installed on my Mac mini. Its a headless machine so I'm trying to administrate it as much as possible via SSH from my Macbook, to avoid screen sharing and ...
1
vote
2answers
48 views

I can't log in to my Mac, even though I can ssh into it

Our Mac is on a network where most users log in via ActiveDirectory, that may be related I am able to ssh from my machine to my MacMini (which is a build server for our iOS Developers), via ssh ...
0
votes
1answer
240 views

Mac OSX Lion 10.7.5. Is there any way to permanently disconnect from a server?

Every time I open terminal on my Macbook Pro, I get the IP address of a server I once ssh'd into. I allowed someone to use my computer to access his server and now it seems like there's some permanent ...
0
votes
0answers
78 views

Why is my ssh output hanging until I kit a key

I'm suddenly seeing strange behavior in all of my ssh sessions. The output often freezes mid-stream until I hit a key. It's not on page boundaries, or any byte boundaries that I can see. It manifests ...
3
votes
2answers
109 views

How do I retain my shells and SSH connections on my laptop after I leave work?

I have a laptop I bring to work and back home. At work, I often set up a lot of shells and open ssh connections. When I go back home, I have to restart all these connections, after logging into my ...
0
votes
1answer
212 views

Unison profiles root/path issues

I am trying to sync two folders with each other (one local, one remote) using unison. If I use a standard command like this.. unison -times /Volumes/My\ HD/Work ssh://myremoteserver//volume1/My\ ...
1
vote
1answer
148 views

How can i see mac folder colours on pc?

My colleagues mark folders on mac server using their macs, and sometimes tell me i've marked those folders in green. I'm wondering if there's any mean to see what colours got assigned to what folders ...
2
votes
0answers
220 views

GUI ssh clients for mac?

Is there a GUI ssh tunneling client for mac that supports jump servers? Mulitple hops? I have tried: coachilla SSH tunnel manager Tunnelblick tunneling manually through terminal is fine, but time ...
0
votes
0answers
101 views

Ask SSH passphrase only once for “chained SSH”

I have a master running Ubuntu and a Slave running Mac OSX 10.6.8. I set up the SSH keys. When connecting to the GIT repo directly from Slave, everything works well and I am not asked to enter a ...
2
votes
1answer
2k views

Unfreeze a frozen osx UI using ssh without shutting down all applications?

My mac freezes occasionally, and most often I simply restart it by holding down the power button for 5+ seconds. Today however, I had been running a huge file scan for 14 hours when the UI froze ...
1
vote
0answers
44 views

SSH acting up on mac

I have a problem with a mac remote server I can ping it, but every time i try to ssh to it, it can't find a route to host. After that error i can't ping it for like 5-10 minutes, but then the ping ...
0
votes
1answer
2k views

Use iTerm2 and Mac OSX 10.8.3 to open tabbed shells to specific systems

I'm still fairly new to the MAC and I have been seeking a way to script or use the GUI to accomplish the following. Open Iterm to a group of hosts and ssh to each of them in a tabbed view. In the ...
0
votes
0answers
232 views

SSH private key won't authenticate for a new remote user on a known host after upgrading to Mac OS X 10.8

Scenario: Client machine upgrades from OS X 10.7.5 to 10.8.4. Multiple private keys. I am invoking the secondary key using ssh -i /path/to/pem existinguser@knownhost - which works fine. on ...
1
vote
1answer
50 views

Restarting multiple mac computers with terminal

How do you restart multiple mac computers that are on the same network with terminal? I know the ssh command to login to one computer but I want to be able to send a reboot command to multiple ...
0
votes
0answers
29 views

Connect to remote display on Mac

So basically, I am super lazy, and I want to be able to sit on my couch or in my bed, and watch netflix on my linux desktop or mac mini respectively. I got super hyped when I found out about x2x, but ...
0
votes
1answer
96 views

OSX Keychain not remembering SSH Passphrase

I have an key with a passphrase that I would like the keychain to remember. I have put the passphrase in multiple time, each time adding it to the keychain, but it still asks me for the passphrase ...
-1
votes
1answer
204 views

How to set up ssh for public key from any machine

I have a Mac running Lion at home. I disabled password ssh login; I just want to use public key. I generated private/public key pair, but now I'm confused. I start a new job tomorrow, and want to ...
1
vote
1answer
193 views

Back up to Time Capsule remotely via SSH + iMac

I wonder if it's possible to connect from my MacBook at home to my iMac at work, using SSH and then bind 'whateverport' to my Time Capsule (placed at work) so I can backup my MacBook from home as ...
1
vote
2answers
138 views

How can I make OS X forget SSH passphrase when I close lid/after a certain amount of time?

I'm using Mac OS X 10.8.3 and openssh, basically I have the inverse problem to most people in that I want to make my laptop automatically lock the keychain (specifically my private key) every time I ...
0
votes
1answer
87 views

Where do I store sshfs configuration settings?

When using sshfs several sites recommend using options like: -oauto_cache,reconnect,defer_permissions,negative_vncache,volname=RemoteHome I tried adding these in ~/.ssh/config under the hostname: ...
1
vote
1answer
173 views

OS X - make ordinary SSH commands use SSH config

Here is a (somewhat redacted) listing of my ~/.ssh/config under OS X 10.6.8 Snow Leopard: Host * IdentitiesOnly yes Host foo1 IdentitiesOnly yes User foo1 HostName example.com ...
0
votes
1answer
223 views

Deleted SSH keys, now annoying message “Identity Added” on every Terminal launch

So, while trying to work out passwordless login to some remote systems (which is an entirely different issue :) ), I ended up deleting and regenerating my ssh keys with ssh-keygen on Mountain Lion. ...
0
votes
2answers
149 views

Git Always Prompts for Passphrase

I've followed the following guide to setup SSH keys on Mac OS 10.7.4. https://help.github.com/articles/generating-ssh-keys But for some reason it continually prompts me for my passphrase. It doesn't ...
1
vote
1answer
59 views

File Corruptions when using Vim on iMac

I'm experiencing some strange file corruptions when editing PHP files in VIM/iTerm. This is not exclusive to these but the corruptions are slightly different in Nano. Same issues appear in the ...
5
votes
1answer
102 views

Can one install linux on a Mac via ssh?

Title says it all, read on if you think this an odd request. I realize that this question is quite unusual, but ssh and FTP are the only access methods for my Mac. Why I'm doing this: The ...
3
votes
2answers
3k views

I forgot my private key's passphrase, but I use it every day

...from my Mac. I think Keychain Access remembers my passphrase and applies it every time I log in to a server, but in this instance I can't log in to the remote server directly from my laptop; I ...
2
votes
1answer
240 views

Unable to setup ssh tunnel on mac

On my office windows XP laptop I use a program called Bitvise Tunnelier to establish ssh tunnel to a in-house MySQL database. In the Tunnelier program I also need to provide address of corporate http ...
6
votes
3answers
36k views

Command Line SSH restart Mac OSX Mountain Lion

How can I restart the SSH service via the command line on Mac OSX Mountain Lion please? Using ps aux | grep 'ssh', I was able to deduce that the process is most likely /usr/sbin/sshd. From here I ...
1
vote
1answer
248 views

SSH to remote OS X computer

I'm trying to ssh into my OS X laptop from my iPad using prompt. I have everything working when I'm on the same network, but when I try to access my computer from an outside network...everything ...
1
vote
0answers
271 views

Can't connect to my VPS before rebooting my Mac

I use LAN in our office. I can connect to my VPS Host normally. But when i back home, (with my Macbook sleeping) , use WLAN , I can't connect the same Host. Doesn't tip me input password. Just tell ...
1
vote
3answers
3k views

How to check how many remote ssh logins in my macosx

I allow remote ssh login to my Mac. However I only can see my local login when running command who. I'm sure a remote session has login my Mac via ssh. localhost% who kane console Jul 10 22:21 ...
6
votes
2answers
5k views

Enable SSH on a Mac in single user mode

I have an iMac that I can access only in single user mode, because of serious hardware damage. I attached to it another computer with an Ethernet cable. I would like to login remotely to the iMac ...
1
vote
2answers
1k views

Why does my password for the ssh private key does not work (on Mac)?

I have a pair of private and public keys. The public key is on my server and I have my private key on my local disk. The file's permissions were changed with the command: chmod 600 private_key Now ...
1
vote
0answers
832 views

SSH, VNC, HTTP(S), telnet… connection manager for Mac OS X

I'm searching for a tool on Mac OS X, that is able to manage multiple and different connections. On Windows, there is a tool like this called mRemote. Until now, I've been using the .ssh/config file, ...
1
vote
1answer
637 views

SSH download file from web server

I need to do a backup on a website, but I need to download locally to a folder on my hard drive. Example: scp name.zip -> MyMac/Documents/Backup This can be done via shell, Terminal, etc. What ...
2
votes
2answers
12k views

How do I configure SSH on OS X?

I'm trying to SSH from one Mac running OS X 10.6 to another. Seems to work fine via a password, but I can't get it to use a RSA key instead. Where is the ssh configuration file on OS X and what is the ...