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
13 views

SSH private key password never removed with Keychain/ssh-agent

I have an SSH private key with password, and I'm able to add it to KeyChain/ssh-agent and have the password automatically used without having to enter it. Now I'd like to add one more thing: I want ...
2
votes
1answer
19 views

How do I keep an ssh tunnel alive using launchd?

I would like to keep an ssh tunnel alive. Below is my launch agent plist file but it only keeps the tunnel up for a day or two at the most. I'm using OS X 10.10.3. <?xml version="1.0" ...
0
votes
1answer
16 views

Cannot access user files with root using osxfuse

I mounted external server via sshfs root@example.com but I cannot access user files (ie someuser:somegroup) that have no permissions set for other (ie drwx--x--x. 17 graphica:graphica foldername). ...
0
votes
1answer
19 views

How do I enable logging for ssh log in attempts?

I have enabled remote logins via SSH on my Mac. But how do I enable logging of all log in attempts? And where is the log? My /etc/sshd_config has this content: # Logging SyslogFacility AUTHPRIV
2
votes
1answer
19 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 ...
1
vote
0answers
35 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 ...
0
votes
0answers
47 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 ...
2
votes
1answer
54 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 ...
0
votes
0answers
40 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
39 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
31 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 ...
2
votes
1answer
67 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 ...
0
votes
2answers
33 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
27 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 ...
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 ^? ...
2
votes
1answer
47 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 ...
1
vote
1answer
28 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
15 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
56 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
89 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
411 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 ...
0
votes
1answer
116 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 ...
0
votes
1answer
181 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 ...
1
vote
0answers
45 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, ...
0
votes
0answers
33 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 ...
2
votes
1answer
48 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 ...
1
vote
0answers
348 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]: ...
0
votes
0answers
14 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
39 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
73 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 ...
1
vote
0answers
22 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
2k 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: ...
5
votes
1answer
188 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?
3
votes
2answers
340 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
1answer
77 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 ...
0
votes
1answer
125 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 ...
5
votes
1answer
242 views

ssh key persists even after I delete the private key from ~/.ssh — why?

I generated ssh keys (public and private) and stored them in ~/.ssh/myServer/. I added the public key to the server's ~/.ssh/authorized_keys file and everything works great! In my effort to try and ...
1
vote
2answers
353 views

Shell not finding commands after I changed my .bash_profile file

I was following a tutorial trying to install Laravel (5.0). The tutorial showed to add export PATH="~/.composer/vendor/bin/laravel" to the .bash_profile document. Since then, I am not able to execute ...
0
votes
0answers
40 views

view pdf files on X11 forwarding

I am using Mac OS X Darwin Kernel Version 13.4.0, when opening pdf files using xpdf on ssh -X or ssh -Y Xquartz X11 package I am receiving segmentation fault. Can we do any sort of work around for ...
0
votes
0answers
31 views

ssh -X without/with using xquarts

I would like to know if apple bash in supporting ssh -X right out of the bat? using the command is launching XQuarts and interestingly both are NOT working with e.g. displaying pdf files returning : ...
1
vote
0answers
927 views

X11 forwarding on Yosemite

X11 forwarding has stopped working since I upgraded to Yosemite. I tried reinstalling XQuartz, but that did not solve the problem. Has anyone faced the same problem? EDIT: I was finally able to fix ...
1
vote
2answers
17 views

Is there any way to use Preview to view files on another server?

I own a Mac and ssh into a Linux server. How can I view a file on the Linux server using the Preview program on my Mac, without having to explicitly copy it to my Mac beforehand?
3
votes
3answers
2k views

Unable to ssh root@localhost on jailbroken iPad with iOS 8.1

I jailbreaked (not for pirates) my iPad 4 (iOS 8.1) several weeks ago and found it unable to ssh root@127.0.0.1 via Prompt 1 or 2 on iPad. Even I cannot connect via LAN IP (e.g. 192.186.X.X). However, ...
1
vote
0answers
500 views

How to get automount and sshfs(osxfuse) working with yosemite

I'm currentyl trying to get apples automount working with osxfuse and sshfs. The result should be that a specified folder gets automaticly mounted if it is used. What i've done so far: installed ...
0
votes
1answer
561 views

Macfusion: Can't mount SSHFS directory, “Authentication has failed.”

I have a problem with Macfusion. After following the instructions here: http://www.kevinfodness.com/using-macfusion-for-sftp-connections-on-osx, I set up an SSHFS connection in Macfusion, and after ...
5
votes
0answers
143 views

PacketFilter on OS X preserve destination address for sshuttle

There is a cool utility out there called sshuttle (https://github.com/apenwarr/sshuttle). It has depended on ipfw to forward packets in the past. It appears that ipfw is mostly broken in Mavericks ...
0
votes
1answer
591 views

How to get UTF-8 locale when connecting via SSH to MacOSX from PuTTY (Windows)

I have the following problem. When I connect to the server via ssh (client is PuTTY under Windows), I don't get UTF-8 locale. Here is what I see on MacOSX (Yosemite) after ssh connection: $ locale ...
0
votes
0answers
34 views

How to view an iPad in iTunes over ssh

I want to know how iDevices with the OpenSSH cydia package could be accessed via itunes over ssh. I want to use itunes, possibly with plugins to view my iPad over ssh, with the normal interface. Is ...
0
votes
1answer
29 views

Is there a way to immediately exit a hanging connection in Terminal?

I often have SSH connections through Terminal that stop responding (like if I've left it overnight) but when I try to use the dead connection Terminal doesn't respond for several minutes until: Write ...
0
votes
1answer
537 views

Yosemite 10.10.1 - ssh - no connection (time-out) and strange redirect

I hope I can get some help with a rather strange problem on my late 2013 MacBookPro running Yosemite 10.10.1 Up until 3 days ago, I could ssh into my server without any problems. I then updated to ...