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

Yosemite 10.10.1 - ssh - no connection (time-out) and strange redirect

I hope I can get some help with a rather strange problem on my late 2013 MacBookPro running Yosemite 10.10.1 Up until 3 days ago, I could ssh into my server without any problems. I then updated to ...
0
votes
1answer
1k views

SSH with ipv6 working only if I pass %en0 with my ipv6 address

I am trying to ssh with Mac OS X (10.10.1 Yosemite) terminal using ipv6. If I use command like ssh username@ipv6_address It's not working and I am getting error "No Route to Host". But If I use ...
0
votes
1answer
608 views

SSH using IPV6 getting error “No Route to Host” On My Mac Machine

I am trying to ssh with ipv6 in my mac machine but I am getting error "No Route to Host". I can it successfully with ipv4. Can anyone guide me please if it require any network setting or else? I am ...
1
vote
1answer
2k views

Windows Putty connect to OSX SSH Server with SSH key

Could someone guide me to setting up OSX (10.10 Yosemite) so that I can ssh from Windows using putty to Mac, but using ssh key rather than password. On the Mac I've enabled remote-login under sharing ...
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
52 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
820 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
238 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
486 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
424 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
471 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
283 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
136 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
59 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
517 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
362 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
228 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
142 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
406 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
185 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
104 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
320 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
186 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
136 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
302 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
113 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
316 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
38 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
221 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
391 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
48 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
529 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
72 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
259 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
388 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
134 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 ...