1
vote
1answer
46 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 ...
1
vote
1answer
42 views

Change default ssh:// behavior

Currently, the protocol handler ssh:// opens the link in a new Terminal.app window. I'd like to default it so it opens it in a new tab instead. How can I change this behavior? Backstory: I use Alfred ...
0
votes
1answer
39 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
20 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
38 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
1answer
37 views

Can connect over SSH from Mac to linux

I have an Xubuntu server set up with SSH. I can connect to it using Putty on Windows and via a Chrome SSH plugin on my Mac. However, when I use terminal client it just hangs for a bit and then I get a ...
0
votes
0answers
39 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: ...
5
votes
1answer
79 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
1answer
16 views

How to change default LC_TYPE?

My OS X (Mavericks) seems to be setting LC_CTYPE environmental variable to UTF-8 by default. How can I change the default? I need LC_CTYPE to be en_US.UTF-8. There's a catch: I don't want to ...
0
votes
0answers
14 views

msmtp not looking at keychain over ssh, only looks when in terminal

I've been wrestling with setting up msmtp for some time now, only to realize that when I run it from a terminal it works as expected (uses my password from my login keychain) but when I'm ssh'ed to ...
0
votes
1answer
64 views

Copying ssh private key with finder, but can't see it with console

Background: I generated an additional ssh key-pair on my windows 7 workplace computer. I placed the corresponding public keys in my bitbucket.org and github.com account. I am using atlassian ...
0
votes
1answer
19 views

Is there a way to turn off LibreOfficeUpdate via terminal?

Good morning everyone. I administrate few MacBook laptops (in remote locations). We control the versions of software that we allow users to use for compatibility issues. But end users nag as to ...
1
vote
2answers
514 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
77 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
180 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 ...
2
votes
1answer
162 views

Special character codes are displayed in the Terminal for diacritics when connecting to an Ubuntu Server

When I connect to an Ubuntu Server (ssh) and I try to see some text in the Terminal form the remote server, I get character codes instead of the appropriate text with diacritics. for example for a ...
2
votes
3answers
385 views

How to stop being logged out of SSH sessions when locking the screen in OS X 10.9.1?

Every time I lock my screen I get logged out of any active SSH sessions. I've added the following to my ~/.ssh/config file, but I still get logged out: Host * ServerAliveInterval 60 How can I ...
1
vote
0answers
62 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)? ...
0
votes
1answer
341 views

Why can't I navigate to /.ssh folder on jailbroken iPhone 5S

I have installed OpenSSH on my jailbroken iPhone 5S, I am trying to set up ssh keys for it but I need to get to my /.ssh folder. I try to cd there while at root with cd ~/.ssh but it says "not a ...
2
votes
1answer
469 views

How to connect to an already open Terminal session on another Mac

I am running Mac OS X 10.7 on a MBP and OS X 10.8 on a Mac Mini. I can connect to the Mini via ssh without any issues. I am running GNS3 (Network simulation) on the Mini and have configured it so that ...
1
vote
0answers
227 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 ...
13
votes
4answers
15k views

How to set system-wide environment variables on OS X Mavericks

We used to use /etc/environment to set system-wide environment variables on Mountain Lion. However, it seems this file is no longer read. Ideally the solution should apply to all users, and we need ...
1
vote
1answer
2k views

Mavericks SSH keys and Keychain

Before Mavericks I could use Keychain to store my SSH keyfile passwords The connection between private key and Keychain was like this: ssh-add -K /path/of/private/key However now in Mavericks, the ...
0
votes
1answer
400 views

Odd problems with vim over ssh to remote linux machine

I'm having some strange issues working with vim editing files in an ssh session on a remote linux (Ubuntu 13.04 ) server. On the client side, I'm on a mac running OS 10.8.4 (late 2012 mac mini). I've ...
0
votes
2answers
396 views

Rename terminal tab to host alias in ssh config

I am new to using Mac (Mac Pro, OS X 10.8.4) and I connect to many remote hosts using ssh. I have created aliases in .ssh/config file and would like to have the host alias as the name of the tab in ...
1
vote
2answers
135 views

Alias to ssh and cd into a specific directory

I want an alias to SSH into another machine and then CD into a specific directory. I try: alias appl="ssh 9@lon.orb.com; cd /opt/tomcat/instances/" It does not work. Any ideas?
0
votes
1answer
726 views

restarting a airport from the commandline - of a non-mac

We have a few airport's and an airport express here at my work, and I would like to bring them into my Nagios monitoring more closely. Right now they are only being monitored by ping. I would very ...
0
votes
1answer
158 views

Can't ssh into my Mac at home, from office [closed]

I'm trying to ssh/sftp to my Mac at home, from office. I can ping it fine. I'm pretty sure I set up keys correctly with ssh-keygen Here's what I'm getting (private info masked with •••): ...
0
votes
1answer
35 views

ssh publickey error

I have a MBP with 10.8.4 and a Mac minis server with 10.8.4. I set sshd to only allow publickey and it worked. But now, I’m now sure why, it doesn’t work anymore. I always get ...
2
votes
1answer
316 views

preventing ssh command from opening xquartz on every session

Whenever I use ssh, after I type the password, xQuartz pop ups in the dock and terminal window looses focus. This happens even if there's no an X session. Why? How to prevent this behavior?
0
votes
2answers
262 views

Auto open 4 terminal sessions and SSH them to a given host

I'm doing Rails development on a MacBook via a VirtualBox setup that's somewhat similar to Vagrant. My inconvenience is that I like to have at least 3 terminal tabs connected to the VM via SSH (one ...
0
votes
1answer
227 views

Can an Open Directory (10.8) user's home directory be changed from the terminal?

I'd like to use SFTP/SSH for users (students and faculty) to manage their web content. The default home directory is "/Users//". I'd like to point them to something like "/Users//web" to block access ...
2
votes
2answers
146 views

Terminal: Is there a way to be notified of activity when tailing an error log

I often ssh into a machine and tail -f it's php error log. My ideal situation would be to leave this terminal window open in the background, but when there's activity from the tail command, have the ...
1
vote
2answers
2k views

How can I import private keys to iSSH app in iPhone?

Suppose a private key in Dropbox/server. I have tried copying it from Dropbox to iPhone's default clipboard and then to iSSH app but there is no area to paste it in iSSH, very unintuitive ...
2
votes
1answer
522 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 ...
2
votes
1answer
6k 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 ...
2
votes
1answer
1k views

Disable password authentication on SSH server on OS X Server 10.8

I want to disable the password authentication of the SSH server on my OS X Server. this should be done in /etc/sshd_config, right? But I’m not sure which setting I should change…
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 ...
0
votes
1answer
230 views

How to add a script that types in the password for my vps through applescript

I made a script recently and have turned it into an app, it basicly logs me into my vps via ssh but I don't know how to tell it how to type in my password for me, heres the code tell application ...
0
votes
0answers
170 views

terminal ask for ssh passphrase every time

I'm relatively new in the Mac world, and right now I'm having a problem with Terminal. Every time I open Terminal (new tab or new window) I have to insert the SSH pass phrase. Why? How can I ...
3
votes
1answer
391 views

Remember Kerberos tickets after reboot

I need to use Kerberos to connect to my network at work. The built-in kinit and ssh in Lion work fine for me. However, I need to get a new ticket and re-enter my password every time I restart the ...
1
vote
2answers
334 views

What is the format I should write the command to SSH into Linux VPS?

I am trying to use SSH and log in from the terminal into a Linux VPS. I have tried a few variations around the following: ssh [user]@[hostname].[my.ip.address.xx]:22 and keep getting: ssh: Could ...
0
votes
1answer
598 views

How can I access a remote machine via SSH from behind a proxy?

I’m trying to connect to a Linux machine via SSH. The problem is that my Mac is in a different network, behind a proxy that routes HTTP and HTTPS through port 80. How can I access the Linux machine ...
3
votes
2answers
931 views

How to get a “modern” emacs that runs in a terminal on os x lion?

I just installed Prompt on my iPad so I could possiby do some real work on my iMac via ssh. so far Mutt and Vim and emacs seemto work responsively enough for me. I've made a few tries at emacs ...
4
votes
1answer
728 views

SSH, passphrases, keychains, Could not open a connection to your authentication agent

I will be very surprised if anyone has the answer to this. I have googled for a long time but no luck. As an iOS developer who will shortly be welcoming a new team member I want to set up a ...
3
votes
1answer
6k views

How to ssh to remote web server without using a password

I'm new to OS X. As per title, I'm having trouble connecting to my web server through SSH. My server accepts keys and we don't use passwords. I've come from windows, and on windows I used PuTTY to ...
3
votes
1answer
568 views

How do I restore a previous version of my ssh keypair files?

I was following the Github tutorial and I generated a new SSH key pair. But now when I'm online, Google keeps throwing up SSL errors (and so does everywhere else with SSL, for that matter). What ...
3
votes
1answer
1k views

ssh terminal window closes immediately when opened

I am seeing some odd behavior when using the Terminal app to open an ssh window to a remote machine. I normally connect to many different Linux servers from my MacBook Pro running Mac OS X 10.7.3, ...
8
votes
4answers
3k views

Remotely SSH to IP address in home network

I've got a device at home I want to SSH to from work. The device has port 22 open locally and I have port 22 opened on my AirPort Extreme. However, on the AirPort Extreme it says the open 22 port only ...
3
votes
1answer
508 views

How do I enable SSH server on startup through Terminal?

Curious as to how I can enable the sshd to start on startup solely using terminal. The GUI is great and everything but it doesn't go well with my bash scripts.