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

learn more… | top users | synonyms

1
vote
1answer
312 views

sshd: Service exited with abnormal code: 255

Every SSH connection exits with an abnormal code. For example ssh corti@myhost.example.com true results in Feb 11 10:16:47 mac-mini com.apple.xpc.launchd[1]: ...
2
votes
1answer
13 views

Change background of terminal based on host

Is there a way I can have my terminal dynamically change covers based on the host I am on? For example, the default background (as determined by terminal profile) is black. Maybe there is another ...
3
votes
1answer
2k views

(Jailbroken) iOS 7 stock apps missing on springboard

All apps from private/var/stash/Applications.xxxxxx are missing suddenly. I can't exactly say when that happened, don't think it was any specific Cydia tweak. I still can ssh into my iPhone and see ...
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
vote
0answers
30 views

Setup MacBook to accept ARD traffic over SSH?

How to access Apple Remote Desktop (ARD) via VNC-over-SSH? asks how to tunnel ARD traffic over SSH. But the answer provided does not detail the steps required to do so. Would some please provide the ...
2
votes
1answer
292 views

how to access Apple Remote Desktop (ARD) via VNC-over-SSH?

I've done a bit of research and it seems ARD is somewhat based on VNC technology. It even has the option to allow access via VNC viewers using a password. I want to enable this option so I can ...
-1
votes
1answer
992 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 ...
2
votes
1answer
39 views

emond keeps me locked out of my server via SSH

I've been grappling with emond (and maybe afctl) all afternoon, and I'm trying to figure out how to fix this. Basically, I'm trying to SSH into my Mac Mini server (10.9.5 with Server 3.2.2) but I keep ...
25
votes
11answers
39k views

Password dialog appears when SSH private key permissions are set to 0600

I installed my SSH private key in ~/.ssh/id_rsa and set its permissions to 0600. When I connect to an SSH server which uses my private key in Terminal.app via ssh, a dialog pops up and asks me to ...
0
votes
1answer
158 views

Cannot connect to SSH server from Mac OSX

Whenever I try to connect to a remote server using SSH, I get an error "ssh: connect to host x.x.x.x port 22: Connection refused" I didn't install a Firewall or something similar. I know for sure the ...
0
votes
0answers
30 views

Yosemite X11 forwarding: display lost after a while

I connect my Yosemite 10.10.2 Mac to a Debian 3.2.65-1+deb7u2 box through X11 (version XQuartz 2.7.7 (xorg-server 1.15.2)). I use ssh -A 192.168.1.19 to connect to the Debian box. At the ...
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 ...
0
votes
0answers
31 views

How to configure keep alive using Serverauditor (or any other tool)

I use the Serverauditor app to connect to a remote unix machine. However a period of inactivity the connection is dropped. I think this is because keep alive is not configured. Can this be configured ...
0
votes
1answer
36 views

SSH from different Wifi network?

I'm currently at college (living away from home) and my iPod Touch is at home. Its jailbroken and has OpenSSH installed through Saurik's Cydia repo. Is there any way I can SSH to get a theme file that ...
0
votes
1answer
25 views

Log into the desktop remotely and automatically

I have an OSX machine I'm trying to automatically run applications on remotely via SSH. Everything works great, as long as the user is already logged into the computer. If I log out, or reboot the ...
1
vote
1answer
45 views

How can I access the keychain remotely from the command line?

I am storing various passwords (e.g. for remote email servers) in my keychain. From the command line, when logged in locally, I can retrieve these via: security unlock-keychain ...
11
votes
5answers
5k views

Getting notified when someone logs into a server using SSH or Remote Desktop

I have a mac mini server running OS X Lion Server 10.7.3. It pretty much runs unattended without problems. However, the server is under constant "attack" according to the logs. The firewall and ...
1
vote
2answers
632 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 ...
2
votes
2answers
4k views

ssh_exchange_identification: Connection closed

In university I normally SSH into the CS server. However today I keep getting the following error: ssh_exchange_identification: Connection closed by remote host. SSHing with -v flags gives me the ...
0
votes
2answers
27 views

Is it possible to change the SSH_AUTH_SOCK path?

I would like to have the ssh-agent socket inside my home directory, but currently it is created inside /private/tmp. I see that the agent is managed though launchctl and this plist: ...
0
votes
0answers
24 views

Mac Terminal won't accept £ in ssh password?

I have an issue where I'm trying to ssh into the root account of a firewall from my Mac. I'm on the same network as the firewall. ssh root@1.2.3.4 I'm then asked for my password which contains the ...
2
votes
2answers
2k views

Why won't terminal let me ssh in to my lan server when Windows/Putty works fine?

I have a development server on my LAN with a static IP address. My DD-WRT flashed router assigns the domain 'server.local' to the static IP of the server. Everything worked fine with my setup. I could ...
3
votes
3answers
542 views

Problem with ssh agent

I'm having a problem using ssh agent to make sure I don't have to enter a password each time a certain program uses my id_rsa private key. I did ssh-add -K ~/.ssh/id_rsa and it seemed to add an entry ...
3
votes
2answers
286 views

My iMac has been hacked via sshd. What now?

My iMac runs Mac OS X Yosimite 10.10.1 I accidentally had "Remote Login" enabled in my Mac's system preferences, so the sshd was running. I just notified in Little Snitch's network monitor window, ...
0
votes
0answers
10 views

Backspace over SSH shows ^?

I'm trying to use vim to SSH in terminal on my Macbook. All the solutions I found were for PuTTY, but I'm using terminal. Someone said to add this to my vimrc but that did not work: stty erase ^? ...
0
votes
1answer
110 views

How can use ssh to connect to my university network over VPN

I am still a beginner with using terminal. I am trying to ssh from my mac at home to a linux at my university. I am using VPN to connect to the network. When I ping the IP address of the computer I ...
2
votes
1answer
64 views

Can a SSH session be wrapped to appear as a distinct App?

Fluid can create a .app wrapper around a webkit instance to turn any web page into an OSX Application. This script can do a less thorough job with Chrome. Is there anything that can do this for a ssh ...
22
votes
9answers
18k views

What's a good SSH tunneling client for OS X?

I've using SSH Tunnel manager to easily set up and stop port tunneling over SSH to various servers at my company. That saved me the pain of opening up a new terminal window which will hang out there ...
1
vote
1answer
146 views

autossh not forwarding, regular ssh tunnel does

Starting autossh like so: autossh -M 5122 -N -R 5432:localhost:5432 <user>@<myhost>, I can't connect to localhost:5432. If I run ssh -f <user>@<myhost> -L 5432:localhost:5432 ...
2
votes
1answer
43 views

How to unfreeze terminal when SSH connection dies?

I"m using Mac 10.9.5 with bash shell. Occasionally when I ssh into another machine and then the connection dies (e.g. the Internet goes down or I move to a new location), the terminal window with the ...
5
votes
1answer
172 views

iMessage / iCloud via SSH Port forward to get through firewall

What ports does iCloud and iMessage use and is it possible to use SSH port forwarding via a proxy to use them on a network that blocks the services?
1
vote
1answer
27 views

SSH rejecting key file with extended attributes

In my .ssh/ directory, when running $ ssh-add dev Permissions 0755 for 'dev' are too open. But looking at the dev file $ ls -lF dev -rw-------@ 1 me staff 1675 Feb 3 09:37 dev The @ at the ...
2
votes
1answer
14 views

Terminal displays directory of previous SSH location even when not running SSH

I am using the terminal app to ssh and when I do, it conveniently tells me (at the very top) what and where I am logged into for example: user@computer:/home/user/directory/ and so forth. However, ...
0
votes
0answers
40 views

How to send 'Insert' via SSH from Macbook Pro Terminal to 'Vim' on Linux?

I have used the Terminal app on my OS X Yosemite Macbook Pro to SSH to a Linux machine. I have opened "vim" text editor, and want to send the "insert" keypress via SSH to vim, to start editing. ...
0
votes
0answers
78 views

SSH via sudo cron on Yosemite

I have a shell script that is supposed to run via cronjob on Yosemite, also when no user is logged in. I discovered the cron has to be edited with sudo crontab -e to do that. The script connects to ...
0
votes
0answers
285 views

Free SSH GUI client with ssh tunnel support for Yosemite?

Is there any free SSH GUI client for Mac OS X? Coming from Windows I would be happy with something as simple as Putty. Features: Free Connection Manager SSH tunnel support Yosemite ready (and ...
1
vote
0answers
44 views

Remote login keeps getting turned on

I have a 2013 MacBook Pro. Over the past few months I have noticed that Remote login under System Preferences > Sharing occasionally gets turned on. I notice it about once every week or two, ...
3
votes
1answer
725 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 ...
5
votes
1answer
1k views

ssh -X does not work on Yosemite

Can no longer use X11 with ssh. Have XQuartz2.7.7 installed. Logging in with X11 via ssh gives the warnings Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: ...
2
votes
1answer
47 views

Open Terminal.app but hold open?

I have a shell script that runs on my mac (./go), it opens a ssh session on a raspberry pi then runs a script which streams video from the raspberry pi to a UDP port on the mac. I also need the mac ...
0
votes
0answers
30 views

Can't ssh into iPhone

I used to be able to do this a while ago, but now, for some reason I can't. I have installed and later reinstalled OpenSSH on my iPhone. ssh root@10.0.1.16 Returns that the connection to 10.0.1.16 ...
0
votes
0answers
13 views

How to perform a find with Chinese characters?

I'm ssh'd into my iPad 2,1 running iOS 8.1. I'm trying to do a find for "PP越狱": fermat-ipad:/ root# find /var/mobile/ -iname XXX When I enter the Chinese name for XXX, I get: (arg: 1) find ...
0
votes
1answer
35 views

No route to host, unless someone is logged in

When trying to ssh into a remote OS X machine, I get: ssh: connect to host … port 22: No route to host ping or traceroute do not reach the machine either. The interesting detail is that if someone ...
1
vote
1answer
69 views

Configuring OS X Firewall to enable SSH/SCP only on the local subnet? [duplicate]

We would like to configure OS X to only allow Remote File Sharing (SCP) from a specific range of internal IP addresses. That way they only accessible when the user is connected via the VPN. What's ...
0
votes
3answers
3k views

Can't establish a ssh connection to my Mac OSX Yosemite

I'm having a ssh_exchange_identification: Connection closed by remote host error when trying to ssh into my mac, from a linux VM if I try with the verbose option I get this ssh ...
1
vote
0answers
20 views

SSH based VPN with tun device

On the ssh man page there is a section called SSH-BASED VIRTUAL PRIVATE NETWORKS which explains how to setup a poor mans VPN with ssh (ssh flag -w). This section is also included in the OSX man page. ...
5
votes
1answer
851 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 ...
0
votes
1answer
69 views

Connecting to Mac Mini via SSH unreliable

More often than not I am getting this error when connecting to a brand new Mac Mini, firewall disabled: ssh -l [username] [fixed_ip] ssh: connect to host [fixed_ip] port 22: Connection timed out ssh ...
5
votes
3answers
2k views

Is there a way to remotely restart Finder (or wake-up the desktop) from SSH?

Over the last few months I've found my MacBook Pro is getting increasingly unwilling to wake-up if it's gone to sleep of it's own accord - not when I put it to sleep deliberately, but when the machine ...
0
votes
1answer
103 views

Tab completion for hosts defined in ~/.ssh/config doesn't work anymore on Yosemite

I'm trying to create my ~/.ssh/config file for simplify my work life on the server connection. In Mavericks all worked properly and with the tab I was be able to autocomplete the hostname with file ...