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

How to set environment variable in Yosemite for local ssh sessions

I'm having a problem with Yosemite, it won't set the environment variables when doing: ssh localhost env | grep myvar no sign of myvar. I've managed to get Yosemite to set the environment variables ...
0
votes
1answer
50 views

How can I automate port forwarding?

Is there a way in which I can automate port forwarding on the mac? I want to forward a computer to port 22, and my purpose of doing is so I can ssh from a remote location, making ssh easier. If so, ...
2
votes
0answers
419 views

ssh asks for passphrase not keychain password after locking keychain

I'm using Yosemite and store the ssh passphrase in a separate keychain (not the login keychain). This all works fine as long as the keychain is unlocked. When I lock the keychain, I expected ssh to ...
1
vote
1answer
809 views

How do I make passphrase prompts for ssh keys appear in the terminal, not as a graphical prompt?

I'm SSHing into my mac and doing some stuff remotely through tmux (namely uploading some stuff to github). When I just tried to run a git push, my command kept stalling silently. I found ssh stalling ...
1
vote
1answer
232 views

Recommendation for a gui scp client

I'm looking for a recommendation for a GUI SCP client that supports private keys. All of the ones I find don't support private keys. Thanks
1
vote
0answers
462 views

Connecting Raspberry Pi to iPhone HotSpot and using SSH

I am trying to connect my Raspberry Pi to my iPhone 5 with iOS 8 HotSpot. This works so far without problems, but when I try to connect to it with SSH, the connection always times out. I tried ...
1
vote
1answer
421 views

Unable to use SSH/Microsoft Remote Desktop after Yosemite update

So I have been trying to log onto a virtual machine (a linux server for my school). I have Remote Login enabled, and it worked perfectly prior to the update. Now when I try to use ssh, it just does ...
5
votes
2answers
4k views

How can I get 256 colors on the default Terminal over SSH?

Lots of similar questions, but I can't quite seem to find anything that is an exact match. I am using the default Terminal (in Yosemite) to SSH into a VM. The VM's terminal is set up to use ...
0
votes
1answer
458 views

Terminal: command overridden via shell script in /usr/local/bin not executed unless called directly

I've created a shell script wrapping ssh to change my terminal background when connecting to a server following one of the many examples on this site and stackexchange. 11:22 ~ $ echo $PATH ...
0
votes
3answers
8k views

Can't establish a ssh connection to my Mac OSX Yosemite

I'm having a ssh_exchange_identification: Connection closed by remote host error when trying to ssh into my mac, from a linux VM if I try with the verbose option I get this ssh ...
4
votes
1answer
5k 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 ...
2
votes
2answers
273 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
134 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 ...
2
votes
0answers
57 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
492 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
354 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
126 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 ...
3
votes
1answer
227 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
136 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 ...
2
votes
1answer
80 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
405 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
181 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 ...
1
vote
1answer
101 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
316 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 ...
2
votes
1answer
2k 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 ...
2
votes
1answer
2k 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
184 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 ...
1
vote
1answer
130 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
293 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
111 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. ...
2
votes
2answers
302 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
37 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
212 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
135 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
1k 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
378 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 ...
7
votes
1answer
3k 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 ...
0
votes
1answer
47 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 ...
2
votes
1answer
516 views

how to access Apple Remote Desktop (ARD) via VNC-over-SSH?

I've done a bit of research and it seems ARD is somewhat based on VNC technology. It even has the option to allow access via VNC viewers using a password. I want to enable this option so I can ...
3
votes
1answer
71 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 ...
1
vote
1answer
41 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, ...
1
vote
1answer
246 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
3
votes
3answers
254 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
1answer
377 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
4k 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
128 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
340 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 ...
1
vote
0answers
84 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
349 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
32 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 ...