1
vote
0answers
56 views

10.9.5 mac pro - cannot ssh out

I cannot ssh to any server. ssh -vvv joe@ip OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /Users/joe/.ssh/config debug1: Reading configuration data /etc/ssh_config ...
1
vote
1answer
70 views

Cannot SSH from OS X Mavericks to Solaris server

Well, this is embarrassing. It was a case sensitive issue. Prior to posting the -v output on this site, and probably due to looking at this problem for too long, I forgot the fundamental rule of case ...
0
votes
0answers
22 views

Mac ssh-agent not being started automatically by launchd

A few days ago on my Mac running Mavericks (MacOS X 10.9.4) I noticed that any operations using ssh started to ask me for my ssh passphrase. If you look at... ...
0
votes
1answer
57 views

Terminal won't ask for passphrase and not stored in keychain

I recently rent a VPS and generated a public/private key pair and transferred it to my server (added it there to the authorized_keys file) ... So far on my first login via terminal on OSX I got asked ...
0
votes
0answers
27 views

Bootstrap context issues when logging in via ssh with private key

I use ssh to connect to my laptop remotely. Recently, I decided to improve security by using a private key to authenticate instead of a password. I am able to connect and login with my user account, ...
1
vote
1answer
66 views

Using the builtin dialog under OSX to unlock an SSH key

OSX has a builtin passphrase dialog for ssh-agent, so that on the first use of a key, it'll get cached. The problem is -- I can't find a way to spawn that dialog by just adding ssh-add. ssh-add will ...
1
vote
2answers
38 views

Closing other tabs in terminal on Mac?

I am using iTerm2, but I wouldn't mind switching back to the original terminal for just this feature. I open hundreds of SSH tabs every day and often end up working after a while only working on 1 ...
0
votes
0answers
57 views

Unable to use ssh to log into any linux server

Use /usr/bin/ssh -v SERVER to login, here is the output: OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /Users/hong/.ssh/config debug1: /Users/hong/.ssh/config line 1: ...
0
votes
0answers
41 views

ssh without Safari streaming: “Write failed: Broken pipe”

I use the standard ssh binary on OS X 10.9 on a mid-2013 MacBook Air 11". It looks like OS X goes into some kind of sleep mode all the time, and when I wake it up a dozen of minutes afterwards, I ...
5
votes
1answer
123 views

How to use Terminal to send Keystrokes?

Is there a way for Terminal to simulate pressing multiple keys at once? For example, Shift + Ctrl + R? I am ssh into OS X from a windows client (PuTTY) and am wondering if I need to configure the ...
1
vote
0answers
44 views

Is is possible to fake a bonjour service identity?

I'm using Arq4 for backing up my data to a ubuntu server with ssh-access. Since Version 4 Arq supports SFTP storing. To speed up the inital backup process I attached my HDD to my Macintosh so Arq ...
2
votes
1answer
132 views

Wrong volume name for sshfs volume in Finder even with volname option

I am using sshfs @2.5 and osxfuse @2.6.4 installed via MacPorts 2.2.1 on my MacBook Pro Retina Late 2013 which is running OS X Mavericks 10.9.2. When issuing the following command: sshfs -ovolname=Z ...
1
vote
2answers
643 views

How to automount SSHFS volumes with FUSE OS X on Mavericks

Iv'e managed to get my ssh volumes mounted with SSHFS via the command line but would really like is to have them auto mount on login. So far, I've set up a launchAgent to run a shell script that ...
1
vote
1answer
98 views

How to enter password automatically in .command

So my .command file looks like this ssh someuser@someip.com When I run just this it prompts me for the password, how do I make terminal enter the password instead of me having to type it in? I ...
1
vote
1answer
206 views

ssh-add every time I want to use SSH to login to my remote server

I have SSH keys installed on OSX Mavericks installed at ~/.ssh/ Everytime I want to SSH to a server from Terminal, I need to do the following: eval `ssh-agent -s` ssh-add ~/.ssh/example_rsa If I ...
1
vote
0answers
71 views

Adjusting Brightness, or executing any keypress, on remote computer via ssh

What are the options to target specific keys on a remote computer and execute the equivalent of virtually pressing them from the terminal via ssh (what would normally be a user pressing them)? ...
2
votes
2answers
211 views

How can I close apps properly/shutdown the system via ssh?

I need to know if there's a proper way to close apps via ssh and if it's posible shut down the system without the sudo halt or sudo init 0 (because I think those ways are not good for the system when ...
1
vote
0answers
21 views

Perform a full login from the command line

I have a system daemon that demands a full GUI to run, as well as some user level daemons that need to be run from within the user account. I want to perform, from my SSH command line connection, a ...
1
vote
1answer
259 views

ssh tunnel in osx — connection refused

I'm trying to use an SSH tunnel for a web proxy. I've done this sort of thing before (for games.) I fire up firefox and tell it to proxy through localhost 12345 for everything. Then, ssh user@host -L ...
2
votes
0answers
54 views

X forwarding application shows blank window after one successful load

I'm running into a strange issue trying to forward an application from a remote Linux server over X (through ssh). The application (it is a java application---a commercial program, not my own) seems ...
1
vote
0answers
3k views

SSH'ing with just a machine name on internal network: nodename nor servname provided, or not known

Yesterday I was able to ssh into my development box by using the machine name. Today, I can't. I can nslookup and use chrome to navigate to my box using just the machine name. ping and ssh do not ...
1
vote
0answers
237 views

SSH Agent forwarding [closed]

I'm very new to ssh, And I want to test how agent forwarding is working on Mac OS X. I added one key using ssh-add, but when I try to connect to the server it's asking me a passphrase. Please ...
3
votes
3answers
797 views

Mavericks - ssh to host under search domain

I am VPNed in to a network which has its own search domain, and it mostly works - I don't have to type the domain in the browser, and the host command resolves to the correct IPs. However, when I try ...
3
votes
1answer
3k views

Mavericks update broke ssh key-based authentication

I regularly ssh to one of my OS X boxes. I have configured ssh key-based authentication i.e. added my client-end ~/.ssh/id_rsa.pub to server-end ~/.ssh/authorized_keys2 with restricted enough ...
7
votes
4answers
3k views

OSX ssh-agent: no password pasting, and problem with PKCS#8?

I use ssh on my machine, and have set up a long not-human-friendly passphrase which is saved in my password manager. What makes me crazy every time is that I cannot paste into the window pictured ...
15
votes
5answers
11k views

Cannot unlock password protected SSH key in OS X Mavericks

I just upgraded to OSX 10.9, and when trying to establish an SSH connection with public key authentication, a prompt appears asking for my SSH key password. I initially thought that the upgrade ...
2
votes
2answers
882 views

MAC OS X 10.8.4 Login Stuck on password - Restart logind service?

I have a remote MAC that is stuck on the login screen for the local user. The login screen is stuck right after the password was entered. I can login to the remote MAC with ssh and run commands. This ...
0
votes
3answers
734 views

Mounting Remote Server for editing files on my Mac

My web development server is in the Cloud and I am very new to Macs. On Ubuntu and other flavors of Linux, I would mount the remote drives using sshfs. I have researched SSHFS for Mac and come up ...
1
vote
1answer
183 views

How to get rid of all the .serverauth.$$ in the HOME directory on OS X?

How to prevent gettin lots of .serverauth.$$ files in the HOME directory on OS X 10.8? ($$ is a pid number).
3
votes
1answer
2k views

How Do I Disable Remote Management and Enable Screen Sharing?

I am connected to a headless remote Mac Mini. Under Sharing in the System Preferences both Remote Login and Remote Management are checked though Remote Mangement is "grayed out". I would like to ...
1
vote
1answer
484 views

Setting up “HPN-SSH - High Performance SSH/SCP” on Mac OS X

As you'd expect from the name, HPN-SSH - High Performance SSH/SCP is a "high performance" patch of SSH/SCP. I've installed a newer version of OpenSSL via Homebrew (brew install openssl). I've ...
1
vote
2answers
238 views

File Vault 2 and ssh

I am considering enabling File Vault 2 on my Macbook Pro, which frequently stays at work overnight, and which I often need to log into remotely using ssh. What are the ramifications of using File ...
2
votes
1answer
556 views

autossh not behaving as expected

I am trying to use autossh, like so: autossh -f -i id_rsa -D 8080 user@myserver.com However, on both an PPC Tiger eMac and a Mountain Lion MacBook Pro, I just get presented with the argument and ...
1
vote
2answers
715 views

Enable SSH access for AD admin accounts

I have the need to configure SSH access for a AD service account on a fleet of Macs. I can't make the account a local account as the password for the service account cycles often. The end goal is to ...
2
votes
1answer
7k views

SSH request timeout every time

I am trying to access a storage space we have at work via ssh but I get a timeout every single time (Mac OS 10.7.5 - Terminal). I checked firewalls, settings, even turned off Little Snitch, and port ...
1
vote
1answer
1k views

SSH connection hangs out at SSH2_MSG_SERVICE_ACCEPT recieved

I tried to connect to a server with ssh, but it failed. I tried UseDNS no, update OpenSSH with MacPorts. But it didn't work. Using user@ip -v I get the following output OpenSSH_5.9p1, OpenSSL 0.9.8r ...
1
vote
1answer
1k views

Terminal Tab Title after SSH Session

In Mac OS X (I'm on 10.6.8, though I believe other versions are the same) ssh'ing into a remote machine changes the title of the current tab in Terminal. Annoyingly, when I disconnect from the remote ...
6
votes
2answers
3k views

ECDSA ssh key on 10.8.2

I used ssh-keygen -t ecdsa to generate an ECDSA key, but I got the error unknown key type ecdsa. man ssh-keygen says: -t type Specifies the type of key to create. The possible values are ...
2
votes
2answers
777 views

Terminal Actived Push Notification Utility for OS X and iOS?

I am basically wondering if there is any tool(s) that can generate a push notifications on OS X and/or iOS from terminal entries. Idea here is you could connect via SSH and make a custom push ...
0
votes
2answers
1k views

What causes chmod to not work on an ssh file in OSX?

I am trying to mount private keys from USB stick. OSx does not allow me to change their permissions, why? How can I change them? In other words, how can I add private keys from random USB stick to ...
1
vote
1answer
174 views

How to run Excel on headless Mac?

I'd like to run applescript to control Excel on a headless Mac. I want to do it from the command line via ssh, and I cannot - there is no display to run applescript on, so osascript throws an error. ...
6
votes
1answer
8k views

OS X Keychain keeps prompting me for my SSH passphrase even though I save it (OS X 10.6.8) [duplicate]

Every time I log in to a remote server with SSH, OS X keychain prompts me to remember the SSH passphrase. I type in the passphrase and check the box to remember it. I then connect ok to the server but ...
2
votes
1answer
2k views

How to upgrade the ssh program on OS X 10.6.8?

I would prefer to do this through the command line rather than downloading Macports. Any help appreciated.
3
votes
5answers
8k views

Mounting a remote SCP or SFTP share on Mac

I use Fuse4X and ForkLift to mount a remote directory (a dev server). I use PHPStorm to open projects and source (/Volumes/dev/project_path), but sometimes it happens that Forklift freezes (in ...
1
vote
1answer
1k views

Mac OSX and enabling user root

All I am running OSX 10.6.8 I have enabled root login through Directory Utility. I have assigned a password. I get an error when I try to ssh root@localhost. ssh -v root@localhost OpenSSH_5.2p1, ...
14
votes
7answers
61k views

Is there a GUI SSH client for OS X?

I know that SSH from the command line is easy enough, but would like to give my students that use OS X a GUI option. Is there a PuTTY equivalent for the Mac?
10
votes
1answer
5k views

Create a remote only user in OS X?

I'd like to create a user on OS X that has remote ssh login privileges where they can access a certain folder /path/to/the/goods/ and add/modify/delete files manually or via rsync while the rest of ...
3
votes
2answers
716 views

SSH Key Error, sudo works fine

When I try to ssh (using ssh user@server.com) into my server at home from either the local network or from outside, I get the following error: But if I use sudo ssh user@server.com, it works with no ...
9
votes
3answers
5k views

ssh -A doesn't properly enable forwarding of authentication agent connection

I love ssh -A, which allows me to use my local ssh key when establishing a connection from a remote server. For example, I ssh -A host1.example.com and then from there I can ssh host2.example.com (or ...
18
votes
2answers
10k views

How can I prevent an SSH session from hanging in OS X Terminal?

When I close my MacBook with an active SSH session in Terminal and then wake it up, the prompt goes unresponsive. In about five minutes it says Write failed: Broken pipe and terminates. This ...