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
48 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 ...
3
votes
1answer
341 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
18 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 ...
0
votes
1answer
33 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 ...
1
vote
1answer
188 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
92 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
0answers
52 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. ...
0
votes
0answers
209 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
95 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
62 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 ...
3
votes
1answer
75 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 ...
0
votes
2answers
29 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 ...
1
vote
1answer
27 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
48 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
207 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. ...
1
vote
2answers
91 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 ...
2
votes
1answer
376 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 ...
1
vote
1answer
89 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
118 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
185 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 ...
0
votes
0answers
87 views

Accessing Time Capsule as a Network Drive?

I have a setup with an Apple Airport Extreme 2TB Time Capsule and a Mac Mini running OS X Server. I've configured users on the server such that users can ssh into the device. I'm going to be having ...
1
vote
0answers
287 views

How can I block ssh brute force attempts in OS X 10.11?

My system running OS X 10.11 is constantly getting hammered by failed ssh login attempts by bots. I'm using a secure password and the root account isn't accessible via ssh, but even so it's still a ...
0
votes
2answers
31 views

How can I close an ssh tunnel?

I have opened an ssh tunnel with lucas-MacBook-Pro:~ donbeo$ ssh -D 8080 -f -C -q -N donbeo@149.157.140.64 How can I close it now?
1
vote
0answers
69 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
1answer
132 views

Rsync error after a period of syncing (error in rsync protocol data stream)

I am trying to use a standard rsync via ssh between a local MacBook Pro and a remote Linux based machine (WD MyCloud). There is no problem initializing it, but after syncing for a while I always get ...
0
votes
0answers
132 views

SSH disconnects after successful connection after pressing any key

I am working with a new macbook pro with OS X Yosemite 10.10.5. I have had the problem described below since my very first ssh connection attempt at the terminal a couple of weeks ago. Since then, I ...
3
votes
0answers
75 views

OS X 10.10 default username and password?

Is there a default username/password for brand new OS X installs that have yet to go through the initial setup process? I have several headless macs already racked, but no display set up for them, ...
0
votes
0answers
106 views

Using ipad with keyboard – viable as ssh terminal for development?

Currently I'm using a macbook pro as my development machine. My workflow basically consists of logging in to an ec2 instance via ssh and there working on the shell using emacs. I wonder if the same ...
1
vote
0answers
48 views

how to add a ssh directory in finder?

I have a linux computer and I can access to it trough the terminal with the command: ssh account_name@123.117.140.61 Now I am trying to access to the folders in that computer trough finder using the ...
0
votes
0answers
122 views

ZSH Slow - Calls sh and env multiple times on every command

My ZSH (tried both brew and included version) is slow. Even on calling simple ls command, it takes about 500ms to complete. And I noticed that on the title bar, it says sh and env couple of times ...
1
vote
1answer
42 views

How can I run a script automatically when changing Location?

When I change Location (via System Preferences -> Network or  -> Location), I would like to be able to run a bash script (specifically, an ssh call to start a SOCKS proxy session). Is that possible, ...
1
vote
0answers
40 views

Determine the Mac’s RSA key fingerprint

When starting a ssh session to a remote Mac, I get a message like this: The authenticity of host '201.33.2.107 (201.33.2.107)' can't be established.RSA key fingerprint is 5b:dc:2a:b4:cd:bf:e8:e3:...
2
votes
2answers
256 views

Move .ssh folder from /var/root/

I tried to set up a ssh key for easily logging into the server which is hosting my website : ssh-keygen -t dsa -b 1024. The keys (public and private) have been saved in /var/root/.ssh which I dont ...
3
votes
2answers
5k 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 ...
0
votes
0answers
64 views

How to Create a VPN server on an iPhone or join another machine to a LAN via the web

Is it possible to create a VPN server on an iPhone so that I can connect to it with Linux box and bring the Linux box onto the iPhone’s LAN? I’ve been looking all day and everything available for iOS ...
2
votes
2answers
969 views

SSH-Keygen Fingerprint and SSH giving fingerprints with lots of letters and numbers

At the advice of another SE member (I'm cross posting here). I've been using SSH and public key crypto for a few months. I've run into a new problem with my install of the newest public beta of OS X, ...
0
votes
0answers
46 views

Add permanent Allow rule to Firewall without “Allow signed content…”

I'm working on an OS X 10.5 PowerMac machine. I want to add a permanent Allow rule for an updated OpenSSH server located at /usr/local/sbin/sshd. I have a firewall rule for it in the Firewall App, but ...
1
vote
2answers
502 views

What is the user name associated with the Guest Account?

I'm trying to clamp down SSH access to a OS X 10.5 machine. Its a PowerMac used for testing software under the PowerPC. SSH servers have a "Deny" configuration option that allows us to explicitly ...
0
votes
0answers
341 views

Enable remote management remotely on a mac

I am trying to use remote desktop to send a script to all Macs on my network that creates an additional admin account and hides it. I am trying to do this using Apple Remote Desktop. However most of ...
0
votes
2answers
190 views

Logging for SSHD when started from Launchd with `-d` option?

I'm working on OS X 10.8.5, fully patched. I have an updated OpenSSH server installed in /usr/local/sbin listening on port 1522. Connection attempts result in ssh_exchange_identification: Connection ...
1
vote
1answer
51 views

Permanently disable Apple's OpenSSH?

I have an older OS X 10.5 PowerMac (PowerPC) that needs to be online for testing software under the processor. It needs to be online because others want to use it for testing, too. I've updated ...
3
votes
1answer
77 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 ...
1
vote
0answers
85 views

How do SSH sessions work with iTerm?

When I use PuTTY on Windows, if I SSH to some server and launch a script there, closing the PuTTY window stops the script. (so I typically use screen to avoid that) When I use iTerm on Mac OS X, if I ...
1
vote
1answer
859 views

Enable screensharing via SSH and setting password

I am trying to enable VNC (Screen Sharing) on my Mac running OS X Yosemite I have been able to run this command sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist (...
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 ...
0
votes
0answers
272 views

Alt[Option] key not working as meta when ssh a linux server from Mac

I use emacs on my Mac locally, I'm also using iTerm2 as the terminal tool. By setting the 'Preferences--> Profiles-->Keys--> Left option key acts as +Esc'. I can use the left alt key as meta if I ...
4
votes
2answers
894 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 ...
0
votes
1answer
111 views

How do I 'pause' in a .command-script?

I want to create a .command-script on Mac, to execute a series of commands on a remote server using SSH. My script looks something like this: ssh user@domain.com cd /var/www/website/ git pull ...
0
votes
1answer
26 views

How do I set up SSH to open a single application?

iMac 7,1 running OSX 10.10.3 Dell Inspiron 740, running Windows 7 Home Premium My aging mother has a Windows PC and a Mac, which she prefers using. Sometimes my dad is using the Mac, so she's stuck ...
1
vote
1answer
227 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): Gtk-...