Tagged Questions

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

learn more… | top users | synonyms

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 ...
2
votes
1answer
566 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
267 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 ...
4
votes
1answer
708 views

Can no longer ssh in to machine as git user after upgrading to Mavericks

I've got a server (just a mac mini) with two accounts: myRegularUser git (and some others) The git's home directory is in /Users/Shared/git. Since upgrading to Mavericks, I can't ssh into ...
3
votes
3answers
888 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 ...
0
votes
2answers
542 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 ...
13
votes
4answers
20k 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
3k 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 ...
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 ...
0
votes
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 ...
8
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 ...
1
vote
1answer
258 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
477 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 ...
1
vote
2answers
83 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 ...
0
votes
2answers
476 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
284 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
163 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
238 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
193 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
963 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
794 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
640 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
921 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
195 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
173 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
42 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
138 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: ...
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
votes
2answers
826 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
501 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
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 ...
1
vote
1answer
502 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
251 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
360 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
1k 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
241 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
44 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
345 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
1k 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
119 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
403 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
230 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
0answers
2k 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
168 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
3k 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
608 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
759 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 ...