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

learn more… | top users | synonyms

47
votes
10answers
101k views

How can I mount SFTP/SSH in Finder on OSX Snow Leopard?

My Question is seemingly simple. I need to mount an ssh/sftp volume and make it visible in finder to be able to use it as if it were a local volume (think smb share). I have tried everything I could ...
13
votes
3answers
47k views

How to restrict “Remote Login” (ssh) access to only certain IP ranges?

Can someone please tell me how to restrict SSH access only to certain IP ranges (e.g. local network) and not the whole Internet? I guess this has to be done via firewall.
59
votes
10answers
133k views

What's a good graphical SFTP utility for OS X?

I need a small graphical utility, using which I can ssh to a server and see all the files and copy and paste (drag and drop) into my local machine. I am running Snow Leopard.
40
votes
2answers
56k views

How to enable OS X screen sharing (VNC) through SSH?

I forgot to turn on "VNC viewers may control screen with password", to enter on my working Mac, is there way to turn-on this feature remotely via SSH (I'm on WindowsXP now)?
35
votes
15answers
84k 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 ...
37
votes
11answers
47k 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 ...
37
votes
10answers
181k views

Is there a GUI SSH client for OS X?

I know that SSH from the command line is easy enough, but would like to give my students that use OS X a GUI option. Is there a PuTTY equivalent for the Mac?
13
votes
1answer
7k views

Create a remote only user in OS X?

I'd like to create a user on OS X that has remote ssh login privileges where they can access a certain folder /path/to/the/goods/ and add/modify/delete files manually or via rsync while the rest of ...
11
votes
5answers
6k 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 ...
5
votes
3answers
3k views

Blocking incoming hostile traffic dynamically with PF and fail2ban on OS X

The bigger picture is that I am trying to dynamically block/unblock IPs using fail2ban 0.8.14. I have been following an old guide for OS 10.5 with doesn’t include PF. I think I’ve configured ...
9
votes
5answers
11k views

How do I run a GUI app via SSH?

I'm used to working on Unix/Linux and recently moved to Mac. In used to be able to do this: derick@linux1:~$ ssh -X linux2 derick@linux2's password: derick@linux2:~$ xclock I've install X11 from ...
9
votes
1answer
8k 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/...
4
votes
2answers
585 views

ssh fails: image not found [preauth]

When I try to SSH to my computer, ssh fails with this error: Mothership:~ kuyan$ ssh kuyan@localhost Connection closed by ::1 This also happens when I attempt to SSH to my user from another ...
26
votes
1answer
12k views

Set iTerm2 as the ssh:// URL handler

Currently, Terminal is set to handle SSH urls. For example, if I do: $ open ssh://machine.example.com Then it will spawn a new SSH session in terminal. I'd like these to be opened in iTerm2 instead....
11
votes
3answers
2k views

Make my password protected SSH key expire or timeout after a while

I have a private SSH key I use for authentication that is stored in *~/.ssh/id_rsa*. When I ssh into a server, I am prompted for the password to unlock the key: I like this. I also like that I can ...
7
votes
2answers
7k views

How to ssh from iPad with external keyboard and Emacs?

I am thinking about retiring my portable for an iPad + keyboard. (With Amazon/Linode/etc as server.) I tried the iSSH app and ran Emacs in a terminal (not X Windows), using the Apple external ...
6
votes
4answers
11k views

Mac OS X Lion and sshpass

I've upgraded from Mac OS X Snow Leopard to Lion. I used several scripts with sshpass but after I upgraded to Lion the following error appears: Permission denied, please try again. debug1: ...
7
votes
2answers
9k views

Disable password authentication on SSH server on OS X Server 10.8

I want to disable the password authentication of the SSH server on my OS X Server. this should be done in /etc/sshd_config, right? But I’m not sure which setting I should change…
6
votes
2answers
2k views

Enabling remote login without password authentication

I have enabled remote login (ssh) on my Mac via System Preferences. But it doesn't work with keys and only works with normal user/pass authentication. I want to disable this behaviour and only allow ...
1
vote
3answers
813 views

Sshfs or its substitute in Apple products?

I instructs my Apple friend to get Sshfs, i.e. to mount an outside target, to home -directory but he cannot find sshfs for Mac. Dose there exist some substitute or some Apple-compiled version for ...
7
votes
2answers
993 views

“Mount” network share as a volume via SSH?

There is a remote server that I can connect to only via SSH, and storage space have been allocated for me in that server. Is there a software that lets me "mount" a network share via SSH so that I ...
5
votes
2answers
14k views

Configuring sshd on OS X Lion

I'm trying to set up some (rudimentary) ssh security on my workstation behind a router on a home network. It's running Mac OS X Lion (10.7). As I understand it, what one would normally do under such ...
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 ...
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
2answers
2k views

What causes chmod to not work on an ssh file in OSX?

I am trying to mount private keys from USB stick. OSx does not allow me to change their permissions, why? How can I change them? In other words, how can I add private keys from random USB stick to ssh-...
3
votes
1answer
398 views

Restrict sftp user to a single directory in El Capitan

Searched the web for quite some time and still can't find a solution. Is it even possible at all to restrict ssh user to a single directory in 10.11? I have set up an user account via System ...
2
votes
1answer
1k views

How to connect to an already open Terminal session on another Mac

I am running Mac OS X 10.7 on a MBP and OS X 10.8 on a Mac Mini. I can connect to the Mini via ssh without any issues. I am running GNS3 (Network simulation) on the Mini and have configured it so that ...
2
votes
1answer
400 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 ...
2
votes
3answers
4k views

Is there a default SSH password on Mac OS X?

If I create an account, and don't give it a password, what's the password to SSH it?
2
votes
1answer
556 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
vote
2answers
113 views

Disable network device for specified period of time

Recently I converted an old MacBook into a server, running OS X 10.6.8 (the normal, non-server edition). I use it as my VPN server, my bittorrent rsync server, web server, ssh server and so forth. ...
1
vote
0answers
71 views

How do I access sshd log messages that are in system.log with /usr/bin/syslog?

I am aware that messages on OS X are usually logged in the ASL database which then (based on asl.conf) are also written into files like /var/log/system.log Based on this comment I tried (and failed) ...
0
votes
2answers
2k views

Associating ssh public key with user account

How do I associate an ssh public key with a user account on the machine I connect to, so I don't have to type in the account password every time I make an ssh connection to that machine? The machine ...