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

learn more… | top users | synonyms

0
votes
1answer
34 views

How to open GUI applications on remote machine logged in via SSH on OS X

I am logging into a remote Fedora 12 machine via SSH. I have enabled X11 forwarding by passing -X parameter to ssh. I also tried trusted forwarding with -Y. Both of them fail with (gedit:3711): ...
0
votes
0answers
34 views

SSH configration periodically gets overwritten and lost in yosemite

On Yosemite 10.10.3 my ssh configuration "~/.ssh/config" for hosts and keys will always get lost and gets overwritten with only this one line UserKnownHostsFile="/Users/user/.ssh/known_hosts" I ...
0
votes
0answers
24 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
17 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
30 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
35 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 ...
0
votes
0answers
11 views

Stop keychain proposing to save my ssh passphrase

This is a minor inconvenience, but the security consequences could be problematic. I prefer to be prompted for my SSH key passphrase when I make a connection to remote systems, in order to minimise ...
3
votes
1answer
60 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
29 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 ...
0
votes
0answers
15 views

Browsers looking at OSX Server default website always uses ssh which creates problems

Just installed OS X Server 4.1 (on Yosemite) for local network website development. Browsers pointed at served webpages all seem to default to using SSL which is annoying because a certificate error ...
0
votes
1answer
57 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
112 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) ...
0
votes
0answers
46 views

Unable to complete ssh connection and open shell on server

I'm trying both the native OpenSSH (appears to be OpenSSH_6.2p2) which comes with Yosemite to connect to several Ubuntu servers. In the past few days it almost never works, but I installed putty which ...
1
vote
1answer
87 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
17 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
23 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
38 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
45 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
26 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
25 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
62 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
45 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
104 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
85 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
87 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
74 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
84 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
222 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
65 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
44 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
64 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
41 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
23 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
81 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
141 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 ...
1
vote
2answers
950 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
142 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
220 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
53 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
40 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
58 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
504 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
16 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
55 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
124 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
31 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. ...
6
votes
1answer
5k 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
268 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
653 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, ...