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

learn more… | top users | synonyms

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: ...
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 ...
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 ...
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': ...
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
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 ...
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 ...
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 ...
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
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
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/ ...
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
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 ...
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 ...
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 ...
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 ...
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?
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 ...
0
votes
0answers
180 views

ssh: connect to host 192.168.10.9 port 22: Connection refused

I am using a MacBook Pro (10.11.2). I'm connecting to an ODROID (an ARM-based single-board computers) with Ubuntu 14.04 installed via ssh. Also I used ssh-copy-id on the Mac side to enable ssh'ing to ...
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 ...
1
vote
1answer
90 views

SSH (or SFTP) upload files from OSX terminal

I'm trying to upload a file through terminal (didnt managed to do it trough transmit.app) I'm connected to SSH to my server. I want to sent a file from my Local desktop to my server. That the ...
0
votes
1answer
74 views

Open an ssh session in terminal with BetterTouchTool

I was hoping to configure a keystroke command using BetterTouchTool to open a terminal window and run an ssh session. I do this a lot to connect to a RaspberryPi on my network. The execute terminal ...
0
votes
0answers
36 views

Open SSH server files automatically with AppleScript

I am trying to build an Apple Script which will: 1. Open terminal login in SSH with details 2. After login, open a python script which is on ssh server automatically I want to do all of these tasks ...
0
votes
0answers
86 views

C++ linux remote development from xcode

I want to develop C++ application for linux in latest Xcode by connecting to linux machine through SSH. http://ricardo-dias.com/2012/01/08/developing-for-linux-under-os-x-in-xcode/ is the only source ...
-3
votes
1answer
47 views

Make mac become more server [duplicate]

Take another system I use (for example CentOS). I use the following code to make it become server. # No GUI systemctl set-default multi-user.target # Enable SSH sudo systemctl start sshd It has ...
1
vote
1answer
34 views

ssh port forwarding error

I have two Linux servers and one Mac client, and I would like to do SSH port forwarding via local port address on the Mac. In Terminal 1 on the Mac, localhost:~ user1$ ssh -L 8022:server2:22 server1 ...
1
vote
1answer
78 views

Ssh app on iPad runs bash script

ServerAuditor is a free iPad app that allows ssh to a server. I am trying to copy my public key to a server to allow password less login. On a pc this is easy- Generate the rsa key open terminal and ...
4
votes
0answers
70 views

Can't UsePrivilegeSeparation sandbox with Homebrew sshd

With OSX 10.9.5, and using the latest Homebrew OpenSSH, which at time of writing is OpenSSH_7.1p2/OpenSSL 1.0.2f, I must set the following in /usr/local/etc/ssh/sshd_config: UsePrivilegeSeparation ...
0
votes
1answer
41 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 ...
1
vote
1answer
2k 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 . ...
0
votes
1answer
34 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
143 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
76 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
60 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 ...
1
vote
1answer
36 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 ...
6
votes
2answers
231 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 ...
2
votes
1answer
277 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 ...
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 ...
3
votes
1answer
280 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
15 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
32 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 ...