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

learn more… | top users | synonyms

1
vote
1answer
93 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 ...
0
votes
0answers
15 views

mosh + /bin/false error

I have successfully installed mosh at server and client side both. At both sides "mosh" is printing correct usage instructions. Now when I am trying to ssh using following mosh command from osx: ...
5
votes
2answers
8k 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.
34
votes
15answers
79k 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 ...
43
votes
10answers
96k 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 ...
0
votes
1answer
111 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
1answer
24 views

Creating guest user for ssh login

Is it possible to create a user that can log in to one's ssh server and chat, but is restricted from any other activity, i.e. cannot use any significant disk space, cannot access hardware ...
1
vote
3answers
51 views

How can I apply a terminal script using ssh to all users?

I need to disable Google chrome's print preview option using the script "defaults write com.google.Chrome DisablePrintPreview -boolean true -contributed by CutMaster", to a mac using ssh and apply ...
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
1k views

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

I'm currentyl trying to get apples automount working with osxfuse and sshfs. The result should be that a specified folder gets automaticly mounted if it is used. What i've done so far: installed ...
2
votes
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 ...
0
votes
1answer
16 views

Reverse SSH tunnel daemon

I own a Macintosh laptop (10.11.2) that I would like to create a permanent reverse SSH tunnel. This way, when I switch network, or the computer is stolen, I can remotely SSH into the device ...
0
votes
2answers
45 views

Copying and pasting between tmux panes containing vim instances over SSH in Terminal.app

I use vim to develop Perl code on a remote Linux box running Debian Jesse. The machine is a virtual machine running in VirtualBox. I use ssh and then issue a vim <file> command to start editing ...
3
votes
1answer
150 views

OS X : Terminal command to turn ON/OFF SSH server

I know how to turn on SSH server from System preferences :- (System preferences -> Sharing -> Remote Login ) Now I am looking for a terminal command for the same. By knowing it I can use the ...
1
vote
0answers
28 views

SSH keybased authentication using smartcard

I originally posted this on Information Security but am hoping to attract an answer here since this is OSX specific. So I'm fairly new to more secure forms of key management, I've been used to ...
0
votes
0answers
36 views

Get result of Terminal tab do script via commandline

I've seen similar questions like this but none seem to deal with getting the result from a specific Terminal tab? I'm writing a Chrome extension to do some awesome stuff. Right now I'm just trying to ...
0
votes
0answers
26 views

How to SCP Linux Box to Mac Drive?

On mac terminal SSH'ing to a linux box, my local path seems to be interpreted as a server path: scp objects.yml ~/Documents I'm getting: cp: cannot create regular file /ngs/app/project/Documents': ...
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 ...
0
votes
1answer
27 views

Added SSH User, No Home Directory

So, on a Yosemite system, I enabled Remote Login (ssh) and added a specific user. When I ssh as this user, my home directory defaults to /var/empty. Was I supposed to do anything else to enable a ...
3
votes
2answers
299 views

Terminal App: What comes after connection?

I want to use an SSH connection to upload large photo files to a server. FTP taking 10 minutes per photo. Someone suggested SSH; I have managed to get the computer connected to the server, but I ...
0
votes
1answer
87 views

SSH to VirtualBox Mac Host Linux Guest using NAT

How to configure ssh OS X host with Linux guest, so I can access my guest OS through SSH. I've tried: But when I tried to ssh from host, it failed: > ssh localhost ssh: connect to host ...
0
votes
1answer
23 views

Create custom Terminal shortcuts

I'm working a lot with SSH connections to servers, by for example forwarding localports or just establishing SSH connection to manage some servers. For this I would like to be able to create some ...
15
votes
8answers
39k views

How do I connect to a SOCKS Proxy from an iPhone/iPod Touch?

I like to surf securely and privately via a SOCKS proxy which I created via SSH tunneling, on the Mac. I used the SSH client on my Mac to achieve this. Then I thought, since the iPhone OS is ...
1
vote
1answer
15 views

In Terminal, how to exit the two fingers history scrolling mode?

With Terminal 2.6.1, when I ssh a linux box, sometimes I don't know why, the two fingers scroll change behavior. Instead of scrolling the command output, it scrolls the command history. How to exit ...
1
vote
2answers
63 views

How to communicate with another computer (on another network) terminal to terminal (OS X )

I would like to be able to print to the terminal of a computer on a different network (this should work bilaterally). I understand that this should be possible by using the command ntalk, but I have ...
0
votes
1answer
30 views

Can I export my id_rsa cert from Keychain Access?

I'm migrating to a new Macbook. On my old one, I generated an ssh key pair many years ago, and I have configured that key on several sites, some of which I don't have direct control over. After I set ...
-1
votes
1answer
3k views

How to add a script that types in the password for my vps through applescript

I made a script recently and have turned it into an app, it basicly logs me into my vps via ssh but I don't know how to tell it how to type in my password for me, heres the code tell application ...
3
votes
1answer
281 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
2answers
771 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, ...
1
vote
1answer
34 views

Local Forwarding does not work

I have tried to forward local ports over SSH to a remote host: $ cat .ssh/config host km4ayu.com LocalForward 29070 127.0.0.1:29070 I've tried a bunch of things, but how do I make this forwarding ...
0
votes
1answer
25 views

How do I make git credential-osxkeychain work correctly when I'm connected to a machine via SSH?

I setup a build machine to check out sources from Github by caching the login credential in the keychain using instructions from: https://help.github.com/articles/caching-your-github-password-in-git/ ...
0
votes
1answer
52 views

NO LOGINS: System going down … stuck and won't shutdown

I issued a remote SSH shutdown command to a headless Mac server. However, the server is not shutting down and I can no longer access the server with SSH, I get this message: NO LOGINS: System ...
3
votes
2answers
68 views

Transferring Files Between Two Separate (not connected to the same network) Computers?

I need to send a colleague a relatively large application (>5GB), and was thinking of how I could go about sending it. Cloud-based services such as DropBox won't work because the file is much bigger ...
11
votes
4answers
4k views

ssh-under-cron stops working in OS X 10.7 Lion

Just upgraded from Snow Leopard to Lion, and my cron jobs that use ssh have stopped working. It appears that ssh-agent is no longer functioning as expected. Here's a bowdlerized version of my ...
1
vote
0answers
8 views

How to find the IP of a device connected through Ethernet Sharing [duplicate]

I often share my MacBook Pro's Ethernet connection with devices like a Raspberry Pi to log in via SSH and configure files without using a screen, keyboard, etc. My current method to find the IP is ...
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 ...
2
votes
0answers
125 views

Wake On Lan Sleeping Mac Issues

I am having trouble with Wake On Lan for my Mac. I am trying to wake it over the internet from my phone so I can log in to TeamViewer and control it remotely. I don't know if it is my router that is ...
10
votes
2answers
25k views

SSH request timeout every time

I am trying to access a storage space we have at work via ssh but I get a timeout every single time (Mac OS 10.7.5 - Terminal). I checked firewalls, settings, even turned off Little Snitch, and port ...
0
votes
0answers
66 views

ssh hacking attempts - how come?

Over the last few days, I've noticed lots of messages pertaining to attempted hacking of the root account via sshd (a.k.a Remote Login). Here's a section of one such attempt from the Console log: Mar ...
2
votes
1answer
40 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
34 views

How to logout from console and turn into login screen

Based on the link, I can login in console mode. And then I can ssh into it from another computer. If I want to log out the console back to the login screen how can I do that?
1
vote
2answers
258 views

Is there a way to force ssh tunneling to be required for Screen Sharing

I have enabled Remote Management on a mac. Everything works fine when I connect from another mac using Apple's Remote Desktop app. However, I also want to have a client on a windows machine. In that ...
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 ...
0
votes
1answer
31 views

Mac Terminal app - unable to use the up arrow to load previous commands when using SSH on remote server ( ^[[A )

I'm running into a weird issue where the UP arrow no longer restores commands previously entered on a remote server during SSH session: :~ user$ ssh user@myserver //... type the password, get welcome ...
3
votes
1answer
142 views

Unlocking and locking mac screen via ssh

Is there a way to unlock and lock screen from command line, via ssh? I know /System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend command, but it doesn't seem to ...
1
vote
0answers
20 views

One Time Machine server on two different addresses

I have a netatalk based Time Machine server set up at home. Right now, it is accessible only from my local home network. It only allows me to do backup, when I am at home. Sometimes, I'd like to ...
4
votes
6answers
16k views

Mounting a remote SCP or SFTP share on Mac

I use Fuse4X and ForkLift to mount a remote directory (a dev server). I use PHPStorm to open projects and source (/Volumes/dev/project_path), but sometimes it happens that Forklift freezes (in ...
2
votes
3answers
2k views

SSH connection hangs out at SSH2_MSG_SERVICE_ACCEPT recieved

I tried to connect to a server with ssh, but it failed. I tried UseDNS no, update OpenSSH with MacPorts. But it didn't work. Using user@ip -v I get the following output OpenSSH_5.9p1, OpenSSL 0.9.8r ...
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
2answers
63 views

Tool that watches files / folders and upload on change on OS X?

I am looking for an SFTP or rsync (?) tool (or script?) that watches a certain folder or certain files and uploads them to a remote server securely on change. The background: I've been using Sublime ...