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

Is there a way to immediately exit a hanging connection in Terminal?

I often have SSH connections through Terminal that stop responding (like if I've left it overnight) but when I try to use the dead connection Terminal doesn't respond for several minutes until: Write ...
4
votes
2answers
136 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 ...
14
votes
7answers
65k views

Is there a GUI SSH client for OS X?

I know that SSH from the command line is easy enough, but would like to give my students that use OS X a GUI option. Is there a PuTTY equivalent for the Mac?
3
votes
1answer
2k 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 ...
0
votes
1answer
33 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
157 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 ...
0
votes
1answer
75 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
27 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 ...
5
votes
4answers
2k views

Is there a way to remotely restart Finder (or wake-up the desktop) from SSH?

Over the last few months I've found my MacBook Pro is getting increasingly unwilling to wake-up if it's gone to sleep of it's own accord - not when I put it to sleep deliberately, but when the machine ...
1
vote
1answer
30 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 ...
-1
votes
2answers
828 views

How to determine reason for SSH broken pipe

Over the last week, my SSH connection to an Amazon EC2 instance keeps getting disconnected with Write failed: Broken pipe Reading through a few sites, I assumed it was due to no timeouts being ...
0
votes
1answer
32 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
2k views

Mavericks update changes sshd_config?

I normally use private key authentication to SSH into my mac via an iOS client. I recently upgraded to Mavericks, and started noticing the client prompting for a password rather than trying the ...
1
vote
1answer
59 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 ...
2
votes
3answers
169 views

Terminal: Is there a way to be notified of activity when tailing an error log

I often ssh into a machine and tail -f it's php error log. My ideal situation would be to leave this terminal window open in the background, but when there's activity from the tail command, have the ...
0
votes
1answer
19 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, ...
1
vote
1answer
278 views

ssh tunnel in osx — connection refused

I'm trying to use an SSH tunnel for a web proxy. I've done this sort of thing before (for games.) I fire up firefox and tell it to proxy through localhost 12345 for everything. Then, ssh user@host -L ...
0
votes
1answer
46 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 ...
2
votes
0answers
37 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
24 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
45 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 ...
0
votes
2answers
905 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 ...
5
votes
1answer
762 views

SSH, passphrases, keychains, Could not open a connection to your authentication agent

I will be very surprised if anyone has the answer to this. I have googled for a long time but no luck. As an iOS developer who will shortly be welcoming a new team member I want to set up a ...
3
votes
1answer
1k 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 ...
8
votes
3answers
25k views

How to restrict “Remote Login” (ssh) access to only certain IP ranges?

Can someone please tell me how to restrict SSH access only to certain IP ranges (e.g. local network) and not the whole Internet? I guess this has to be done via firewall.
1
vote
1answer
58 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 ...
4
votes
3answers
3k views

How can I enable SSH without using the gui or apple script on snow leopard?

A while back here How can I enable internet sharing without using the gui or apple script on snow leopard? I asked if any one knows how to enable Internet sharing without using GUI or apple script, I ...
2
votes
2answers
62 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 ...
0
votes
1answer
40 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
0answers
37 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
17 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?
3
votes
1answer
1k views

Rebooting a headless Mac Mini

I have an old Mac Mini on which I installed Ubuntu to be used as a test server. I completely formatted the hard disk before installing ubuntu, installation went fine and everything is working; so far ...
2
votes
1answer
553 views

SSH command has no -Z option - Obfuscated ssh client

I am working on a project remotely, and I have MACOSX 10.7.4 installed. The server is Ubuntu linux based, and I use "ssh" to access it. Recently the openSSH server in the remote server being secured ...
1
vote
0answers
115 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 ...
1
vote
1answer
169 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
0answers
43 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 ...
0
votes
0answers
49 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... ...
4
votes
1answer
90 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
31 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 ...
3
votes
1answer
55 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
0answers
12 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 ...
1
vote
2answers
34 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
1answer
22 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
1answer
86 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
0answers
88 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
76 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
23 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 ...
1
vote
1answer
58 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 ...
10
votes
8answers
42k views

PuTTY Equivalent for Mac

Is there a good PuTTY (free telnet / ssh client) equivalent for OS X? I know that I can just use terminal and an ssh command, but I want some sort of application that will store connection info, ...
0
votes
1answer
110 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 ...