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

How do I reload an OS X “bash” user-environment

I think that I want to ask How do I reload an OS X bash user-environment But damnit Jim ; I'm a software engineer not a sysadmin The Goal I want Jenkins started as a Daemon on El Capitan I want ...
0
votes
1answer
25 views

Start Terminal in AppleScript

At work I'm overseeing several users who use MacBooks to connect to our enterprise environment. One of our vendors has an old server which users access via ssh. I've created an Automator workflow to ...
2
votes
3answers
1k views

Terminal Actived Push Notification Utility for OS X and iOS?

I am basically wondering if there is any tool(s) that can generate a push notifications on OS X and/or iOS from terminal entries. Idea here is you could connect via SSH and make a custom push ...
1
vote
1answer
62 views

How do I create user accounts from the Terminal in Mac OS X 10.11?

I would like to be able to create new users in Mac OS X 10.11 remotely after ssh'ing into the machine. On Mountain Lion, these steps were listed. Running dscl . -create /Users/joeadmin dscl . ...
5
votes
1answer
7k views

How to have sshd re-read its config file (without killing ssh connections)?

How can I get the ssh server to re-read its configuration file (/etc/sshd_config), without killing existing ssh connections? EDIT: If I run kill -HUP <SSHD_PID> I kill the connection.
5
votes
4answers
7k views

How to force a Mac to restart without pressing the power key?

The Finder was not responding, so I control+click'd the Finder icon on the Dock and chose Relaunch… except that it didn't relaunch. Activity Monitor happened to be visible and I could see that it ...
0
votes
1answer
24 views

Batch Job Scheduler

This might be weird to ask, since in all these years I've never used a Mac as a "remote scheduler", but this is what I need now. Can you recommend a batch job scheduler? What I need is to login via ...
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 ...
1
vote
2answers
34 views

How to use SSH keys and disable password authentication

I'm trying to access a Mac remotely (I do have physical access to this Mac) through SSH from a Linux client computer. My goal is to access this Mac from outside the network. Port forwarding is set up ...
0
votes
0answers
21 views

SOCKS5 Proxy for only specific IP addresses without authentication

I need to connect to a specific proxy server for only specific IP addresses. I've managed to configure everything with proxyfier. However I only have the trial version. I've read much about ssh ...
1
vote
0answers
19 views

OS X (El Capitan) Terminal Fn-Up and Fn-Down stop working as Page Up and Page Down

I've identified a strange "state" my Terminal program seems to get into. It doesn't happen on all tabs -- right now, one tap can Page Up/Down properly, and another one can't. When I open a new ...
23
votes
6answers
6k views

OSX ssh-agent: no password pasting, and problem with PKCS#8?

I use ssh on my machine, and have set up a long not-human-friendly passphrase which is saved in my password manager. What makes me crazy every time is that I cannot paste into the window pictured ...
6
votes
2answers
152 views

How can I create a user that can login through SSH but not on the local desktop in MacOS X El Capitan?

I would like to have a user account in my MacOS X El Capitan system which is limited to login through SSH. I do not want that user to be able to use the system through any other means, especially not ...
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 ...
1
vote
1answer
26 views

SSH access using .pub key

I don't know if I'm overthinking this too much but I can't seem to understand how to use a ssh public key to create an ssh connection trough my mac. I'll list my steps bellow: First created the ...
3
votes
1answer
72 views

Why does this cause Mac OSX to print over SSH?

While screwing around and breaking things I came across these stupid commands (if executed in order it causes what I got): cd / && cat vmlinuz cd /boot/ && cat init* It causes ...
4
votes
1answer
6k views

How Do I Disable Remote Management and Enable Screen Sharing?

I am connected to a headless remote Mac Mini. Under Sharing in the System Preferences both Remote Login and Remote Management are checked though Remote Mangement is "grayed out". I would like to ...
1
vote
1answer
25 views

Restricting remote user to a single directory in 10.11

I need to confine remotely logged in users to stay in 1 directory only, so I would thought I should attack this problem via SFTP or SSH, so I asked in Restrict sftp user to a single directory in El ...
1
vote
1answer
65 views

How to upgrade brew ssh after recent client exploit?

I'm running OS X El Capitan 10.11.1 Since the recently discovered SSH client exploit mentioned here I wanted to take action to secure myself. In the process I noticed I'm using Apple's ssh and not ...
3
votes
1answer
45 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 ...
0
votes
0answers
8 views

SSH Local Port Binding Not Working in Browser

I am trying to use SSH for port forwarding. No purpose, I just want to make it work as a learning experience. I have run the following command: ssh -L 9030:google.com:80 pi I expected it to forward ...
3
votes
2answers
5k views

ssh_exchange_identification: Connection closed

In university I normally SSH into the computer sciences server. However today I keep getting the following error: ssh_exchange_identification: Connection closed by remote host. SSHing with -v flags ...
2
votes
2answers
667 views

Can anybody give me the original ssh.plist file for OS X 10.8 (Mountain Lion)?

I try to modify my ssh.plist file, but as a noob, I erased my backup file by modified one :-( I am looking for the content of the original file from the install. Can anybody give it to me?
1
vote
1answer
111 views

Why the different results for ping? Or why is the Time Capsule getting involved?

I'm setting up a bash script network monitor at the core of which I am using ping. When a host is down, I get the standard host is unreachable, usually. But on one box it seems to be getting a ...
2
votes
2answers
35 views

Bash history is not remembered in Terminal

My Bash history is remembered when I connect to my Mac via SSH, use iTerm2 or launch bash in the built-in Terminal app (every command I typed in bash is saved) but is not when I just use the built-in ...
3
votes
1answer
45 views

Get notified by notification centre when someone ssh's into my computer?

I know that if I open Terminal and I type inwho, it shows who is logged in and at what time, etc. However, I am not going to be at Terminal all day and keep typing who. So, I would like a notification ...
2
votes
2answers
497 views

Can't use machine name to login using SSH anymore on Yosemite, how to fix?

from yesterday I have noticed that I can't connect via SSH to my OS X's SSH server anymore using the following command: User-MBP:~ user$ ssh user@user-mbp user is the user on the server, user-mbp is ...
35
votes
3answers
23k views

How can I prevent an SSH session from hanging in OS X Terminal?

When I close my MacBook with an active SSH session in Terminal and then wake it up, the prompt goes unresponsive. In about five minutes it says Write failed: Broken pipe and terminates. This ...
3
votes
0answers
40 views

Loading User LaunchAgent Successfully

I have created a Plist file to replace an Xinetd process that I used successfully in Windows (Cygwin) and Linux to stream an imapd connection from a remote server via ssh on a port on the localhost. ...
2
votes
1answer
187 views

How to trap ssh breakin attempts on El Capitan

Previous to El Capitan one could use pfctl and /etc/pf.conf to "trap" the ip addresses of sites attempting to break into a server using brute force attacks producing 100's of attempts per second. The ...
0
votes
0answers
68 views

Sending F5 keystroke using iPad Pro Smart Keyboard

I have got an iPad Pro that I am using with Apple Smart Keyboard. I want to use it to write latex file using Vim editor. I use Vim in a server which I connect to through SSH using an application ...
4
votes
1answer
40 views

How to manually add ssh key to keychain?

In the past year I've been using dsa keys to access several remote machines. On one of these machine, dsa keys have been deprecated so I simply switched to rsa. In doing so it seems that my key is not ...
0
votes
2answers
38 views

Can't ssh into another mac on same network, wrong password

I've got two macs on my home network, both are enabled for Remote Login. From mac1 I open terminal and enter "ssh mac2.local". I am prompted for the password but the when I try the password I use ...
0
votes
2answers
22 views

Second password for SSH-only access

TL;DR: I want to have a simple password to unlock my computer with physical access and a complex password to connect over ssh. This, using the same account. I'm looking for a solution to manage ...
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 ...
1
vote
2answers
2k views

Disable StrictHostKeyChecking in ssh

I am trying to connect to a Linux host using ssh and get the following error RSA host key for 10.1.1.20 has changed and you have requested strict checking. I would like to override this, but can't ...
1
vote
1answer
15 views

Tunneling ssh via ssh with foxyproxy

I'm tunneling over ssh with this command (under El Captain) ssh -D port_number -N -C myusername@server.url and enable foxyproxy on the browser. Everything seems to work just fine on the browser. ...
1
vote
1answer
34 views

Safe to change permissions/ACLs for `~/.ssh/known_hosts`?

My initial problem: I am using git with SSH for authentication. Each time I push/pull, I get The authenticity of the host […] can’t be established, and after confirming to trust the host, I can ...
1
vote
2answers
102 views

SSH keys added using “ssh-add -c” not prompting for confirmation

Using OS X 10.11.1 I'm hoping to run a setup where my SSH keys are adding using ssh-add -c and when the ssh agent is requested to use a particular key I receive a dialog asking for permissions (i.e. ...
10
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 ...
21
votes
5answers
38k views

How to set system-wide environment variables on OS X Mavericks

We used to use /etc/environment to set system-wide environment variables on Mountain Lion. However, it seems this file is no longer read. Ideally the solution should apply to all users, and we need ...
6
votes
3answers
25k views

What's a good SSH tunneling client for ios?

I need a solution that will work without jailbreaking. On Linux and on OSX, I use ssh on the command-line to open ssh tunnels so I can run client-server applications securely. I need to do the ...
1
vote
2answers
40 views

Prevent terminal tabs from auto-renaming

I like to name my tabs when I'm using Terminal so I can keep track of what's inside of them. I do this using the inspector. Unfortunately, whenever I ssh into a machine, my tabs get renamed. Is ...
9
votes
3answers
4k views

ECDSA ssh key on 10.8.2

I used ssh-keygen -t ecdsa to generate an ECDSA key, but I got the error unknown key type ecdsa. man ssh-keygen says: -t type Specifies the type of key to create. The possible values are ...
32
votes
11answers
35k 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 ...
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, ...
7
votes
1answer
2k views

How to use Terminal to send keystrokes?

Is there a way for Terminal to simulate pressing multiple keys at once? For example, Shift+Ctrl+R? I am sshing into OS X from a Windows client (PuTTY) and am wondering if I need to configure the ...
1
vote
1answer
80 views

Any concerns in upgrading to El Capitan over Chrome Remote Desktop?

So I'm about ready to upgrade my mac (which is on the other side of the United States) to El Capitan. I'll only have access to the computer via Chrome Remote Desktop and SSH while this happens. Has ...
1
vote
1answer
61 views

Conflict with my Mac user won't let me connect to my site's FTP

I realize this may be a weird thing to ask and that it doesn't make much sense, so I will clarify the issue here. It is a very bizarre issue that I do not understand why is happening and I do not know ...
2
votes
1answer
124 views

Use Terminal.app to ssh to multiple hosts

Is there any app or "trick" to use Terminal to mirror commands to different ssh hosts (clusters, usually)? I do not want to use another terminal application. EDIT: sorry but the revision from ...