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

learn more… | top users | synonyms

0
votes
0answers
704 views

rsync error: connection unexpectedly closed

I'm trying to backup some folders on an ubuntu server to an external G-Drive, connected through thunderbolt to my iMac, in this manner: $ time nohup sh -c 'rsync -avz myuser@myserver:/home/user/ /...
0
votes
1answer
69 views

Web and outbound ssh stopped working but ping and other network services work

Our home iMac running 10.6 suddenly stopped loading web pages. Also when trying to do a secure shell login to another host in Terminal.app it gives the error ssh: connect to host [hostname] port 22: ...
0
votes
0answers
66 views

how to SSH to my UNIX box?

I have installed 2 SSH clients on my iPad Air2 running iOS 8.3 and no matter what I do, it won't connect. The iPad just can't see the servers (I have 2). I didn't even get the username prompt. I've ...
1
vote
0answers
66 views

Why does mDNSResponder make Ansible run slowly?

I upgraded my OS to OS X 10.10.4, which swaps discoveryd for mDNSResponder. My Ansible playbooks, which previously ran normally, now run incredibly slowly - tasks that took seconds previously now take ...
3
votes
1answer
354 views

Alternative for `fail2ban` on my server running OS X 10.6.8

I have dedicated my old MacBook as a home server. It runs, among other stuff, the following services: Webserver (Apache, PHP, MySQL) i.e. OwnCloud/WebDAV Torrent client SSH server VPN Some game ...
0
votes
1answer
119 views

Mac Not Saving Passphrase for SSH Keys

I have tried everything for my passphrase to be saved for my SSH keys so that when I restart, I don't have to run any "ssh-add" command. I have tried: Saving my key in ~/.ssh Saving my key in ~/....
1
vote
1answer
421 views

Mac OS X Recovery Mode - Headless Access?

I have a Macbook Pro, which unfortunately the screen has died on. External displays do not work either. I can normally ssh and screenshare into the mac fine, but now need to repair the internal HD. ...
1
vote
2answers
2k views

Can I SSH into my Mac from an iPhone over Wi-Fi LAN with no connection to the internet?

I want to use ssh to get into my mac from an iPhone over Wi-Fi LAN with no connection to the internet. I want to do this to get access to the command line (for playing with programming related stuff) ...
1
vote
1answer
358 views

Yosemite: ssh slow to connect when using DNS alias

Since updating to Yosemite, ssh from my Mac to a DNS alias takes about 7-8 seconds. I've observed the following on multiple Macs running Yosemite. Assume I have a host name alpha, and a DNS alias to ...
1
vote
0answers
29 views

WakeOnLan not working from MacBook Air

I have installed wakeonlan using MacPorts, but I can't get it to work over WiFi. I can, however, use ssh from my MacBook to log in to another machine in the network over WiFi (an Ubuntu OS system) ...
1
vote
2answers
37 views

Disabling password saving for certificates

I work in a HIPAA environment where we purposefully put passwords on our certificates. However, when connecting to one of our servers via SSH, it seems keychain is 'remembering' the password between ...
1
vote
1answer
98 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
228 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" encoding="...
0
votes
1answer
94 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
72 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
3
votes
1answer
428 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
115 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
389 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
1answer
381 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
112 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 ...
9
votes
1answer
7k 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 ~/Library/Keychains/...
0
votes
3answers
607 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: /System/Library/...
0
votes
0answers
61 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 £...
4
votes
1answer
264 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
95 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
56 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
224 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. Sure,...
1
vote
2answers
4k 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
359 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
401 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 ...
2
votes
0answers
133 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, ...
2
votes
1answer
82 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]: (com.openssh.sshd.163F2BE0-40C6-4B17-...
0
votes
1answer
298 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
498 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
51 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. ...
14
votes
1answer
18k 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
563 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
4k 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
178 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

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 ...
9
votes
1answer
2k 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
79 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
56 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
6k 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
2k views

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

I'm currently trying to get Apple's automount working with osxfuse and sshfs. The result should be that a specified folder gets automatically mounted if it is used. What I've done so far: installed ...
2
votes
2answers
3k 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
365 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 ...