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

learn more… | top users | synonyms

2
votes
1answer
75 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
1k 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
21 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
236 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
346 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
43 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. ...
13
votes
1answer
14k 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
2answers
425 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
3k 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
148 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 ...
4
votes
2answers
912 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 ...
7
votes
1answer
1k 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
1k 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
1answer
61 views

ssh -X without/with using xquartz

I would like to know if OSX supports ssh -X right out of the box? Using the command launches XQuartz and interestingly both are NOT working: e.g. displaying pdf files returning : evince foo.pdf ...
2
votes
0answers
1k 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
45 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
5k 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
1answer
1k 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 ...
1
vote
2answers
2k 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 ...
14
votes
0answers
354 views

PacketFilter on OS X preserve destination address for sshuttle [closed]

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 ...
1
vote
1answer
2k 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
1answer
42 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
731 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 ...
0
votes
1answer
765 views

SSH with ipv6 working only if I pass %en0 with my ipv6 address

I am trying to ssh with Mac OS X (10.10.1 Yosemite) terminal using ipv6. If I use command like ssh username@ipv6_address It's not working and I am getting error "No Route to Host". But If I use ...
0
votes
1answer
498 views

SSH using IPV6 getting error “No Route to Host” On My Mac Machine

I am trying to ssh with ipv6 in my mac machine but I am getting error "No Route to Host". I can it successfully with ipv4. Can anyone guide me please if it require any network setting or else? I am ...
1
vote
1answer
1k views

Windows Putty connect to OSX SSH Server with SSH key

Could someone guide me to setting up OSX (10.10 Yosemite) so that I can ssh from Windows using putty to Mac, but using ssh key rather than password. On the Mac I've enabled remote-login under sharing ...
0
votes
1answer
305 views

How to set environment variable in Yosemite for local ssh sessions

I'm having a problem with Yosemite, it won't set the environment variables when doing: ssh localhost env | grep myvar no sign of myvar. I've managed to get Yosemite to set the environment variables ...
0
votes
1answer
42 views

How can I automate port forwarding?

Is there a way in which I can automate port forwarding on the mac? I want to forward a computer to port 22, and my purpose of doing is so I can ssh from a remote location, making ssh easier. If so, ...
2
votes
0answers
410 views

ssh asks for passphrase not keychain password after locking keychain

I'm using Yosemite and store the ssh passphrase in a separate keychain (not the login keychain). This all works fine as long as the keychain is unlocked. When I lock the keychain, I expected ssh to ...
1
vote
1answer
763 views

How do I make passphrase prompts for ssh keys appear in the terminal, not as a graphical prompt?

I'm SSHing into my mac and doing some stuff remotely through tmux (namely uploading some stuff to github). When I just tried to run a git push, my command kept stalling silently. I found ssh stalling ...
1
vote
1answer
209 views

Recommendation for a gui scp client

I'm looking for a recommendation for a GUI SCP client that supports private keys. All of the ones I find don't support private keys. Thanks
1
vote
0answers
375 views

Connecting Raspberry Pi to iPhone HotSpot and using SSH

I am trying to connect my Raspberry Pi to my iPhone 5 with iOS 8 HotSpot. This works so far without problems, but when I try to connect to it with SSH, the connection always times out. I tried ...
1
vote
1answer
416 views

Unable to use SSH/Microsoft Remote Desktop after Yosemite update

So I have been trying to log onto a virtual machine (a linux server for my school). I have Remote Login enabled, and it worked perfectly prior to the update. Now when I try to use ssh, it just does ...
5
votes
2answers
3k views

How can I get 256 colors on the default Terminal over SSH?

Lots of similar questions, but I can't quite seem to find anything that is an exact match. I am using the default Terminal (in Yosemite) to SSH into a VM. The VM's terminal is set up to use ...
0
votes
1answer
435 views

Terminal: command overridden via shell script in /usr/local/bin not executed unless called directly

I've created a shell script wrapping ssh to change my terminal background when connecting to a server following one of the many examples on this site and stackexchange. 11:22 ~ $ echo $PATH ...
0
votes
3answers
7k 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 ...
4
votes
1answer
4k views

Setting up a git (ssh) server using OS X Server

I would like to use OS X Server to set up a git server that I can ssh into from other machines on my network. I realize that Xcode Service has repository functionality built in, but I am looking for ...
2
votes
2answers
240 views

Auto-Update Script

I'm trying to get the Macs at my workplace all updating at a specific time. To do so, I'm running a bash script from a spare Macbook running OS X Server. I have one minor and one big issue with my ...
1
vote
0answers
122 views

SSH Public key access - my password is being stored somewhere?

I've just created a Public/Private key to access my server via SSH, this has all worked fine but I added a passphrase to the key when it was created. The first time I logged in via terminal and ...
2
votes
0answers
55 views

How should one correctly copy public and private keys from one mac to another?

I am aware of solution for linux here. How should one correctly copy public and private keys from one mac to another?
1
vote
0answers
411 views

10.9.5 mac pro - cannot ssh out

I cannot ssh to any server. ssh -vvv joe@ip OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /Users/joe/.ssh/config debug1: Reading configuration data /etc/ssh_config ...
2
votes
0answers
317 views

SSH to device via USB

When I try to SSH over USB to my device running linux, I get "ssh: connect to host 10.90.1.2 port 22: Network is unreachable" Mind you, I can run the same command "ssh root@10.90.1.2" on my linux ...
4
votes
1answer
122 views

ShellShock: Do I need to be worried about this on OS X Mavericks?

The title kind of says it all… I was in the process of bringing up a rather extensive set of Mac OS X Server machines when ShellShocked hit the world. As soon as I saw the news, I hastily began ...
3
votes
1answer
215 views

Using mosh with Back to my Mac

How can I use mosh via iClouds Back to my Mac, like I can do it with ssh?
0
votes
1answer
126 views

Can I turn a bad video card iMac g5 into headless server?

I have an iMac G5 that won't display anything because (I believe) the video card is malfunctioning. Could the machine still be functional as a headless server? I could modify the settings with a ...
2
votes
1answer
80 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 ...
1
vote
0answers
364 views

How can I install veency over SSH?

How can I install veency over SSH? I've tried downloading the .deb from apt.saurik.com (veency_0.9.3402_iphoneos-arm.deb), then using dpkg -i veency_0.9.3402_iphoneos-arm.deb to install the package, ...
1
vote
1answer
163 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
96 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 ...
1
vote
1answer
293 views

SSH to a remote station without port forwarding on my mac

I would like to SSH onto a remote linux computer from the internet at school, which does not support port forwarding. I type ssh root@<myipadresshere.com but of course it fails. Is there a way ...