Tagged Questions

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

Setting up a git (ssh) server using OS X Server

I would like to use OS X Server to set up a git server that I can ssh into from other machines on my network. I realize that Xcode Service has repository functionality built in, but I am looking for a ...
2
votes
2answers
46 views

Auto-Update Script

I'm trying to get the Macs at my workplace all updating at a specific time. To do so, I'm running a bash script from a spare Macbook running OS X Server. I have one minor and one big issue with my ...
1
vote
0answers
22 views

SSH Public key access - my password is being stored somewhere?

I've just created a Public/Private key to access my server via SSH, this has all worked fine but I added a passphrase to the key when it was created. The first time I logged in via terminal and ...
1
vote
0answers
13 views

How should one correctly copy public and private keys from one mac to another?

I am aware of solution for linux here. How should one correctly copy public and private keys from one mac to another?
1
vote
0answers
71 views

10.9.5 mac pro - cannot ssh out

I cannot ssh to any server. ssh -vvv joe@ip OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /Users/joe/.ssh/config debug1: Reading configuration data /etc/ssh_config ...
2
votes
0answers
31 views

SSH to device via USB

When I try to SSH over USB to my device running linux, I get "ssh: connect to host 10.90.1.2 port 22: Network is unreachable" Mind you, I can run the same command "ssh root@10.90.1.2" on my linux ...
4
votes
1answer
86 views

ShellShock: Do I need to be worried about this on OS X Mavericks?

The title kind of says it all… I was in the process of bringing up a rather extensive set of Mac OS X Server machines when ShellShocked hit the world. As soon as I saw the news, I hastily began ...
0
votes
0answers
21 views

Play sound on jailbroken device

I like to play a sound using bash (ssh) on a jailbroken device. I'd like to use open or afplay but those commands seem not to be installed neither in iOS nor in Cydia. How can I play a sound on my ...
0
votes
0answers
10 views

Is there a way to set up a public/private key login in Terminal Remote Connection?

I have to log into a few different droplets on Digital Ocean and the Terminal Remote Connection app seems like a simple way to do it but it doesn't offer (an obvious) way to save the private key with ...
3
votes
1answer
46 views

Using mosh with Back to my Mac

How can I use mosh via iClouds Back to my Mac, like I can do it with ssh?
0
votes
1answer
26 views

Can I turn a bad video card iMac g5 into headless server?

I have an iMac G5 that won't display anything because (I believe) the video card is malfunctioning. Could the machine still be functional as a headless server? I could modify the settings with a ...
1
vote
1answer
20 views

Can a SSH session be wrapped to appear as a distinct App?

Fluid can create a .app wrapper around a webkit instance to turn any web page into an OSX Application. This script can do a less thorough job with Chrome. Is there anything that can do this for a ssh ...
1
vote
0answers
54 views

How can I install veency over SSH?

How can I install veency over SSH? I've tried downloading the .deb from apt.saurik.com (veency_0.9.3402_iphoneos-arm.deb), then using dpkg -i veency_0.9.3402_iphoneos-arm.deb to install the package, ...
1
vote
1answer
74 views

Cannot SSH from OS X Mavericks to Solaris server

Well, this is embarrassing. It was a case sensitive issue. Prior to posting the -v output on this site, and probably due to looking at this problem for too long, I forgot the fundamental rule of case ...
0
votes
0answers
17 views

Adding a remote printer via ssh

I am trying to print to a remote printer via ssh port forwarding. On the remote server to which the printer is connected, CUPS runs on port 631. I use ssh to connect to the remote server like below ...
0
votes
0answers
27 views

Mac ssh-agent not being started automatically by launchd

A few days ago on my Mac running Mavericks (MacOS X 10.9.4) I noticed that any operations using ssh started to ask me for my ssh passphrase. If you look at... ...
1
vote
1answer
52 views

Change default ssh:// behavior

Currently, the protocol handler ssh:// opens the link in a new Terminal.app window. I'd like to default it so it opens it in a new tab instead. How can I change this behavior? Backstory: I use Alfred ...
1
vote
1answer
51 views

SSH to a remote station without port forwarding on my mac

I would like to SSH onto a remote linux computer from the internet at school, which does not support port forwarding. I type ssh root@<myipadresshere.com but of course it fails. Is there a way ...
1
vote
1answer
113 views

Connecting to EC2 Amazon using iTerm and .pub-file

How can I setup my iTerm to connect my amazon server using the .pem file I have been given. When I try ssh PUBLIC-DNS it returns Permission denied (publickey).. EDIT I have now tried the following ...
0
votes
1answer
66 views

Terminal won't ask for passphrase and not stored in keychain

I recently rent a VPS and generated a public/private key pair and transferred it to my server (added it there to the authorized_keys file) ... So far on my first login via terminal on OSX I got asked ...
1
vote
1answer
52 views

Apt-get install tomcat7

I am currently running Mavericks. I have a Drupal7 Virtual Machine running (on VirtualBox). I am trying to install a tomcat7 server onto the VM. I have used the Terminal to SSH and login to my Drupal7 ...
0
votes
0answers
29 views

Bootstrap context issues when logging in via ssh with private key

I use ssh to connect to my laptop remotely. Recently, I decided to improve security by using a private key to authenticate instead of a password. I am able to connect and login with my user account, ...
1
vote
1answer
69 views

Using the builtin dialog under OSX to unlock an SSH key

OSX has a builtin passphrase dialog for ssh-agent, so that on the first use of a key, it'll get cached. The problem is -- I can't find a way to spawn that dialog by just adding ssh-add. ssh-add will ...
1
vote
1answer
55 views

Can connect over SSH from Mac to linux

I have an Xubuntu server set up with SSH. I can connect to it using Putty on Windows and via a Chrome SSH plugin on my Mac. However, when I use terminal client it just hangs for a bit and then I get a ...
1
vote
2answers
31 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
2answers
39 views

Closing other tabs in terminal on Mac?

I am using iTerm2, but I wouldn't mind switching back to the original terminal for just this feature. I open hundreds of SSH tabs every day and often end up working after a while only working on 1 ...
2
votes
1answer
15 views

Enable/Disable Sharing (SSH/File) Based on Network?

Is it possible to enable and disable the Sharing features (ssh, file sharing, etc) based on the current network? For example, I want file sharing and SSH to be enabled on my trusted home network. ...
0
votes
0answers
65 views

Unable to use ssh to log into any linux server

Use /usr/bin/ssh -v SERVER to login, here is the output: OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /Users/hong/.ssh/config debug1: /Users/hong/.ssh/config line 1: ...
1
vote
0answers
52 views

SSH SFTP and Mounting File Shares

Quick question: I know how to mount an SFTP connection in Finder using Transmit, but, at least in my setup, it only mounts the subdirectories in the User's folder (i.e., Desktop, Documents, etc.). ...
1
vote
1answer
140 views

auto start an ios app

I want an app(specifically Ip Messanger for iOs) to start on startup in my ipad ios 7.1.1. I saw this 3 years old source in github and write the following .plist file. <?xml version="1.0" ...
2
votes
1answer
46 views

How to control UI/Apps from shell?

I have a jailbroken ipad (ios v. 7.1.1) and installed ssh, terminal and many admin tools. So far I am able to open/close an app from terminal and so much more... . Now I want to trigger UI events and ...
0
votes
0answers
17 views

Port Forwarding to VM with built-in pfctl

I try to port forward specific ports ( 8000 for example ) from my Router to my Server and then to my VM which actually uses this port. Currently I'm tunneling the traffic through ssh-connections ...
0
votes
0answers
33 views

Cannot copy app data to another directory over ssh

(in my Jailbroken ipad, ios7.1.1) I am getting cp: cannot open 'xxx.xx' for reading: Operation not permitted error when trying to copy file from an App Documents directory to my /var/root/Documents ...
0
votes
0answers
43 views

ssh without Safari streaming: “Write failed: Broken pipe”

I use the standard ssh binary on OS X 10.9 on a mid-2013 MacBook Air 11". It looks like OS X goes into some kind of sleep mode all the time, and when I wake it up a dozen of minutes afterwards, I ...
5
votes
1answer
138 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 ssh into OS X from a windows client (PuTTY) and am wondering if I need to configure the ...
0
votes
1answer
39 views

How to choose which connection to use for SSH

I have an ethernet connection which is restricted for a lot of ports (the most annyoing is port 22 -ssh- ). I now have a Wifi connection which is unrestricted. I want to tell to my mac, each time i ...
3
votes
1answer
32 views

How to choose keys in keychain access?

I would like keychain access to store all my keys and passwords for my ssh accesses. However, if I store too many keys, I get "Too Many Authentication Failures" since SSH will try to send all keys ...
0
votes
0answers
67 views

How to forward domain.tld:80 to localhost with port (localhost:xxxx) across ssh via `pfctl`?

I have a remote server port piped to my localhost through such that I can hit localhost:18080 (for example) to visit the remote server through a gateway (in my case to skip around a workstation VPN). ...
1
vote
1answer
30 views

Putting SSH keys I've taken from Ubuntu

I came over to Mac from Ubuntu. I've saved all SSH files I had in the .ssh folder in Ubuntu. There are three files id_rsa id_rsa.pub known_hosts Is it possible to reuse these files in Mac? If so, ...
2
votes
1answer
219 views

SSH into different port

On terminal, I type ssh root@ipadress How do I ssh into something if it is not the default port 22, in my case it is 222
2
votes
3answers
85 views

mac pro going to sleep on nohup

I have the following scenario. I have shell scripts that I want to run remotely on my mac pro, so I ssh in, launch them with nohup, and log out. I've done this for years on linux based machines, and ...
1
vote
0answers
92 views

autossh not forwarding, regular ssh tunnel does

Starting autossh like so: autossh -M 5122 -N -R 5432:localhost:5432 <user>@<myhost>, I can't connect to localhost:5432. If I run ssh -f <user>@<myhost> -L 5432:localhost:5432 ...
1
vote
1answer
861 views

How can I access my time capsule through ssh?

I am trying to reach the time capsule on a remote network. After following the advice of another question I realised the router/network doesn't support NAT-PMP/UPnP and thus I get to configure the ...
1
vote
1answer
21 views

How to change default LC_TYPE?

My OS X (Mavericks) seems to be setting LC_CTYPE environmental variable to UTF-8 by default. How can I change the default? I need LC_CTYPE to be en_US.UTF-8. There's a catch: I don't want to ...
2
votes
2answers
101 views

hostname configuration for remote access

I have a new Mac Pro that's running Mavericks and I would like to configure it for remote access (ssh and sftp). The IT staff says I need to provide them with a fully qualified domain name before we ...
0
votes
0answers
48 views

Odd hangs where monitor sleeps and sshd is still active post 10.9.3 update?

I am seeing an odd issue that I started to see during the 10.9.3 seeds and then it has carried on for the last two weeks or so. Oddly enough it also, for me, coincided with adding an Inateck KT7001 ...
1
vote
0answers
45 views

Is is possible to fake a bonjour service identity?

I'm using Arq4 for backing up my data to a ubuntu server with ssh-access. Since Version 4 Arq supports SFTP storing. To speed up the inital backup process I attached my HDD to my Macintosh so Arq ...
0
votes
1answer
178 views

Unable to mount remote directory using SSHFS

I installed SSHFS 3.5 via Homebrew on OSX 10.9. I try the following: ~$ mkdir link ~$ sshfs user@hostname:/path/to/dir/ ./link But I keep getting this error: the OSXFUSE file system is not ...
0
votes
0answers
16 views

msmtp not looking at keychain over ssh, only looks when in terminal

I've been wrestling with setting up msmtp for some time now, only to realize that when I run it from a terminal it works as expected (uses my password from my login keychain) but when I'm ssh'ed to ...
2
votes
1answer
154 views

Wrong volume name for sshfs volume in Finder even with volname option

I am using sshfs @2.5 and osxfuse @2.6.4 installed via MacPorts 2.2.1 on my MacBook Pro Retina Late 2013 which is running OS X Mavericks 10.9.2. When issuing the following command: sshfs -ovolname=Z ...