A network protocol that allows data to be exchanged using a secure channel between two networked devices

learn more… | top users | synonyms

0
votes
2answers
747 views

Recover ssh private key from Keychain Access

I have OS X 10.8.5 – I just accidentally deleted my .ssh directory. I have backups, but would prefer not to have to go through the trouble. The keys still "work" right now (they're loaded into ...
17
votes
4answers
27k 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
4k 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 ...
4
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 ...
1
vote
1answer
2k views

Mavericks update changes sshd_config?

I normally use private key authentication to SSH into my mac via an iOS client. I recently upgraded to Mavericks, and started noticing the client prompting for a password rather than trying the ...
12
votes
4answers
4k 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 ...
17
votes
5answers
13k 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 ...
1
vote
1answer
327 views

Connect to my mac from my Ubuntu failed!

I have turned on the remote login in system-preference, but I got this when I try to connect my mac from from my ubuntu. Any ideas? $ ssh -vvv lakeat@129.74.164.130 OpenSSH_5.9p1 Debian-5ubuntu1.1, ...
0
votes
1answer
703 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 ...
2
votes
2answers
111 views

Why the command line does not respect the PATH order on OS X?

I added an ssh command inside ~/bin/ssh and modified the PATH to include it, before other paths. When I do run which ssh it will respond with ~/bin/ssh but when I do run ssh it will just execute the ...
1
vote
2answers
641 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
1answer
408 views

configure ssh launchctl

I would like to configure sshd. My ssh.plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN""http://www.apple.com/DTDs/PropertyList-1.0.dtd"> ...
1
vote
2answers
220 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
249 views

SSH remote using XQuartz dosent work in Lion

I was using previous version of Mac and used to connected to a server with SSH console.It used to run X 11 after loading my requested programs(Mathematica) on remote server and was working ...
0
votes
2answers
557 views

how to config color when i use iterm2 ssh linux server

I use Mac and use iterm2 ssh login linux Server . but when exec ls the terminal is Black and White how to config then like mac colors
2
votes
2answers
1k 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
990 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
825 views

SSH on Mac to fresh install of Firefox on 64-bit CentOS 6.4 runs but generates errors: RANDR and GLib-GIO-WARNING

I just installed (64 bit) Firefox 18 browser on my Linux CentOS 6.4 server (64 bit). I SSH into the server from my Mac OSX Snow Leopard from X11 application using # ssh -Y mydomain.com. Now that the ...
0
votes
1answer
1k 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 ...
1
vote
1answer
302 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).
0
votes
1answer
203 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 •••): ...
2
votes
1answer
45 views

How to enable ssh proxy every time I resume desktop

I start ssh proxy by a command similar to the following when I login to the desktop. ssh -N awsproxy.vpc Also, I need to type this every single time I resume my desktop from sleep mode. Can you ...
0
votes
1answer
158 views

editing /private/etc/hosts

I just added my no-ip domain to /private/etc/hosts under a shorter alias: alias host.no-ip.biz I tried the following on the shell: dscacheutil -flushcache but it still says: ssh: Could ...
1
vote
1answer
3k views

Cant SSH from my mac computer: ssh_exchange_identification

I try to ssh to my local raspberry pi and I get: eran-mac:~ eran$ ssh 192.168.178.24 ssh_exchange_identification: Connection closed by remote host eran-mac:~ eran$ I tried with -v and then: ...
4
votes
1answer
3k 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
votes
2answers
1k views

How to determine reason for SSH broken pipe

Over the last week, my SSH connection to an Amazon EC2 instance keeps getting disconnected with Write failed: Broken pipe Reading through a few sites, I assumed it was due to no timeouts being ...
1
vote
2answers
556 views

SSH works locally but not remotely

I have remote login turned on, and when I'm at home, I can access the Mac via SSH just fine, by using the local IP address. However when I try to access it when I'm not at home, using the global IP ...
0
votes
1answer
43 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 ...
1
vote
1answer
578 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 ...
2
votes
2answers
1k views

Remove old user from Remote Login permissions list

On OS X 10.8 I deleted a user account which had Remote Login permissions. Now, in the Sharing tab of System Preferences, that user shows up as "Unknown User", and clicking the minus button won't ...
1
vote
2answers
320 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
417 views

What Could Cause the Ethernet to not Connect to Internet, Yet Connect to Devices on Network

This has been my problem for about 6 months. On my 2011 MBP, if I connect a working ethernet cable to my ethernet port, it will either do nothing or my internet connection will die totally, even when ...
1
vote
1answer
2k views

SSH into LAN from outside through Airport Extreme

I have an Airport Extreme, and a local network. I have several computers within this network. I want to be able to SSH into this local machine within the network, from outside it. What I have done ...
0
votes
1answer
289 views

apple tv ssh script automation

I have a Apple TV 2nd generation that is jailbroken and I run xbmc on it. At times it gets hung or freezes up. At that point, I open up the terminal on my macbook and run this script. ssh ...
0
votes
1answer
47 views

publickey error using cvs

I'm trying to get a copy of the repository for scrotwm using their cvs repository, but I'm having some trouble. I'm running the pull according to this example: ...
2
votes
1answer
361 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
0answers
2k views

Change iPhone file permissions wihout jailbreak

I want to delete some apps (games) but backup their save game data. Since there's no way to save your saved game data the only way to backup this files is using something like iFunBox and copy both ...
0
votes
1answer
184 views

Clearing user input - New Remote Connection Window MAC OSX

I was using Terminal.app to to use the ssh command and I opened the "New Remote Connection" window. There is this long text box under the "user" box that displays the ssh ... commands that were ...
0
votes
2answers
822 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
236 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 ...
3
votes
0answers
3k views

How to have sshd re-read its config file (without killing ssh connections)?

How can I get the ssh server to re-read its configuration file (/etc/sshd_config), without killing existing ssh connections? EDIT: If I run kill -HUP <SSHD_PID> I kill the connection.
2
votes
3answers
202 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
4k 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 ...
3
votes
1answer
761 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
1k 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 ...
4
votes
1answer
10k 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 ...
3
votes
1answer
737 views

SSH command has no -Z option - Obfuscated ssh client

I am working on a project remotely, and I have MACOSX 10.7.4 installed. The server is Ubuntu linux based, and I use "ssh" to access it. Recently the openSSH server in the remote server being secured ...
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 ...
2
votes
3answers
24k views

How to access my .ssh folder for Transmit or Cyberduck?

I"m trying to connect to my linux server which uses public key authentication. By default, the .ssh folder is hidden on my mac (which I can access via the terminal). However, when I try to setup a ...
4
votes
2answers
4k 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…