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

learn more… | top users | synonyms

0
votes
3answers
3k views

ssh/terminal tricks with iPhone [closed]

I have a lovely jailbroken iPhone 4. Works fine. Very much enjoying being able to ssh into the device, but I can't help feeling I'm missing a few tricks with the ssh, would anyone be able to point me ...
12
votes
3answers
8k views

What can I do when my SSH session is stuck?

Sometimes my ssh session in the terminal hangs. How can I exit the ssh session and reconnect?
5
votes
1answer
5k views

How do I enable X-forwarding on OSX Lion?

ssh works fine when when I log-in from OSX Lion to Lion or Lion to Ubuntu. ssh -X (X-forwarding) works fine when I log-in from Lion to Ubuntu. However, I can't seem to get ssh -X to work from Lion ...
4
votes
3answers
6k views

How to manage multiple ssh sessions with ease on Mac OS X

At my upcoming job i will handle many servers with SSH access. It will be like ~100-120 hosts, with different username on most of the hosts, and i'm pretty sure i will not remember each host domain ...
0
votes
2answers
571 views

SSH connection to Mac works from the outside but not locally

I configured SSH access to my Mac in order to use Prompt on my iPad. That way I can use my Mac from anywhere in the world, as long as I can get my home IP address. Although the SSH connection works ...
7
votes
3answers
22k 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.
4
votes
2answers
1k views

Enabling remote login without password authentication

I have enabled remote login (ssh) on my Mac via System Preferences. But it doesn't work with keys and only works with normal user/pass authentication. I want to disable this behaviour and only allow ...
1
vote
2answers
594 views

How to fix a Lion upgrade that killed SSH keys?

I just upgraded to Lion and find now that my ssh keys are not working properly when trying to log into various servers via SSH. I've checked permissions on the ~/.ssh directory and the ...
2
votes
4answers
3k views

Looking for an iPhone SSH app

Is there any FREE real SSH apps for iOS 5. There should not be any jailbreaking. I wanted something like these: iPhone SSH clients reviewed: iSSH, pTerm, and TouchTerm Three SSH terminal apps for ...
3
votes
1answer
451 views

How can I recover from a frozen fullscreen application / game?

A few times now, Starcraft 2 has frozen up on my wife's Macbook Pro, but the mouse pointer still moves and the sound keeps playing. I can also SSH in from a different machine. The keyboard shortcut ...
1
vote
0answers
80 views

Why opening a ssh connection to Lion is taking too long?

Why is SSH taking too long to open when I SSH to Lion. I have to wait ~30s to see the Password prompt. The DNS is working on the Lion server.
2
votes
1answer
180 views

“PTY allocation request failed on channel 2” while using SSH

These days when I try to SSH to my server I get this error: PTY allocation request failed on channel 2 I used to SSH to that server for about 2 years. What happened to my OS (OS X lion) this week ...
1
vote
2answers
5k views

ssh Permission denied(publickey) [closed]

I have been trying access a server via ssh in terminal/ Everything works when I am working on Ubuntu. I copied the ssh key to my Mac but it always tells me Permission denied(public key) (see below). ...
3
votes
4answers
536 views

How do I gain permission to generate ssh keys on my Mac?

I tried to generate ssh keys for GitHub (access through SSH in terminal), but I do not have access to the .ssh directory. I tried to ls -l ~/.ssh, but I got this error ls: .ssh: Permission denied I ...
18
votes
2answers
27k views

How to enable OS X screen sharing (VNC) through SSH?

I forgot to turn on "VNC viewers may control screen with password", to enter on my working Mac, is there way to turn-on this feature remotely via SSH (I'm on WindowsXP now)?
0
votes
1answer
274 views

How can I make my Terminal login as my mac account and now bootcamp partition?

I recently installed windows 7 on a partition using bootcamp and all went well. Now i am trying to use terminal on my original mac partition on OSX but the command line comes up as: myusername-Win7:~ ...
2
votes
3answers
694 views

How can I gain screen share/ssh access to a G5 connected by ethernet to a Mac Mini on my wireless Airport Extreme Network from my MacBook Pro?

Ok, so the scenario is this: I have a G5 Quad (running Leopard) with no wireless card. The G5 is connected by ethernet to a Mac-Mini (running Lion), which is picking up my AirPort Extreme network ...
4
votes
1answer
1k views

Open iTerm2 SSH session in new window instead of new tab

Now that I figured out how to set iTerm2 as the ssh:// URL handler, I'd like iTerm2 to respond to an ssh URL by opening a new window instead of opening a new tab in an existing window. Is this ...
16
votes
1answer
6k views

Set iTerm2 as the ssh:// URL handler

Currently, Terminal is set to handle SSH urls. For example, if I do: $ open ssh://machine.example.com Then it will spawn a new SSH session in terminal. I'd like these to be opened in iTerm2 ...
6
votes
1answer
1k views

Using SSH on an iMac running Lion

I am trying to get SSH/SFTP working on my iMac running Lion so that one of my friends can connect to me remotely. I have managed to get it working using my local user account, but I need to understand ...
1
vote
5answers
4k views

Is there a secure shell client for Mac similar to Secure CRT for Windows?

I have many servers to manage and I don't want to use Terminal on my Mac to keep and manage server lists. I want to know if there is a secure shell client for Mac similar to Secure CRT on Windows?
4
votes
3answers
4k views

How to force a Mac to restart without pressing the power key?

The Finder was not responding, so I control+click'd the Finder icon on the Dock and chose Relaunch… except that it didn't relaunch. Activity Monitor happened to be visible and I could see that it ...
33
votes
9answers
34k views

What's a good graphical SFTP utility for OS X?

I need a small graphical utility, using which I can ssh to a server and see all the files and copy and paste (drag and drop) into my local machine. I am running Snow Leopard.
1
vote
2answers
463 views

Why does sshd only accept connections from within LAN? (Snow Leopard)

The "server" ("mini", running OSX 10.6) has SysPrefs>Sharing>RemoteLogin enabled. I can log in from another machine on the LAN with ssh me@mini.local just fine. To enable access from WAN, I assigned ...
2
votes
1answer
510 views

Password dialog appears for password-less SSH private key

I installed my SSH private key in ~/.ssh/id_rsa. There is no passphrase associated with the key, however, whenever I connect to an SSH server, a dialog pops up and asks me to enter my password to ...
1
vote
2answers
276 views

How can I re-route Cocoa applications through ssh -X?

Is is possible to re-route Cocoa applications through ssh -X? I like being able to route X applications, but I want to route Cocoa applications too. Any ideas?
2
votes
3answers
4k views

How I can browse servers over SSH in visually? [duplicate]

Possible Duplicate: How to mount SFTP/SSH in Finder on OSX Snow Leopard? I remotely manage many servers every day. I'm currently using Nautilus in Ubuntu and it's awesome. Before buying a ...
3
votes
1answer
863 views

View desktop of *very remote* Ubuntu box from my MacBook Pro

So, I’ve searched for literally hours on this subject. Seen various solutions. But practically all of them are for people who want to see their Ubuntu desktop on their Mac, with both machines on the ...
1
vote
3answers
1k views

Where does Mac OS X store the ssh passwords?

Some time ago Sourceforge forced everybody to change the Passwords. A real pain since I use a lot of automated scripts. One of them uses ssh connection to upload the newest passwords. This one is not ...
4
votes
2answers
2k views

Keychain won't remember my SSH password when connecting to server

I routinely develop on two different servers. One server requires my private SSH key stored in ~/.ssh/id_rsa. This part of the story works fine. The other server should not require any SSH keys, yet ...
3
votes
3answers
4k views

Source .profile and .bashrc on ssh login without tty

How do I make sure ssh sources .profile and .bashrc on login without tty? I have a Mac (10.6.8) that I'm using for various UNIX-y tasks like hosting git repositories. I have remote login enabled via ...
4
votes
1answer
908 views

Using screencapture when remotely logged in to a headless mac via ssh

I'm trying to use screencapture from the terminal, when logged in over ssh, to a mac that has no screen attached. I can screen share to the machine, so I'd like to capture the same display. However ...
8
votes
4answers
6k views

How do I run a GUI app via SSH?

I'm used to working on Unix/Linux and recently moved to Mac. In used to be able to do this: derick@linux1:~$ ssh -X linux2 derick@linux2's password: derick@linux2:~$ xclock I've install X11 from ...
16
votes
10answers
10k views

Looking for a good SSH apps for iPhone

I have been using a free SSH app on my phone for a little while but stopped because using VIM mostly broke it. Now after some updates I seems to have a limited number of key strokes before it expires. ...
0
votes
2answers
800 views

Associating ssh public key with user account

How do I associate an ssh public key with a user account on the machine I connect to, so I don't have to type in the account password every time I make an ssh connection to that machine? The machine ...
5
votes
2answers
12k views

Configuring sshd on OS X Lion

I'm trying to set up some (rudimentary) ssh security on my workstation behind a router on a home network. It's running Mac OS X Lion (10.7). As I understand it, what one would normally do under such ...
3
votes
3answers
2k views

Is there a default SSH password on Mac OS X?

If I create an account, and don't give it a password, what's the password to SSH it?
9
votes
3answers
4k views

ssh-under-cron stops working in OS X 10.7 Lion

Just upgraded from Snow Leopard to Lion, and my cron jobs that use ssh have stopped working. It appears that ssh-agent is no longer functioning as expected. Here's a bowdlerized version of my ...
18
votes
10answers
20k views

Password dialog appears when SSH private key permissions are set to 0600

I installed my SSH private key in ~/.ssh/id_rsa and set its permissions to 0600. When I connect to an SSH server which uses my private key in Terminal.app via ssh, a dialog pops up and asks me to ...
6
votes
4answers
10k views

Mac OS X Lion and sshpass

I've upgraded from Mac OS X Snow Leopard to Lion. I used several scripts with sshpass but after I upgraded to Lion the following error appears: Permission denied, please try again. debug1: ...
1
vote
2answers
1k views

How can I get ALT+C to work via SSH on a remote UNIX machine?

I've installed Snow Leopard 10.6 a while a go and I'm pretty new to MacOS. I was working on Windows, then started using Slackware and I'm used to working with those OS. So now after I migrated to ...
3
votes
1answer
896 views

Sparrow over a SSH-tunnel

Is it possible to use Sparrow over a SSH-tunnel since the imap and ssl ports are blocked at my work?
6
votes
2answers
2k views

Changing Terminal colors when ssh-ing into remote machine and back

Looking for a way automatically change terminal colors when ssh-ing into remote machine and revert back to the default colors, when exiting the ssh session. Simply, want have another colors when i'm ...
3
votes
2answers
8k views

I am seeking a SCP/SFTP client for iOS devices

There are clients for telnet and SSH but I couldn't find any app including SCP. Is there any?
19
votes
8answers
13k views

What's a good SSH tunneling client for OS X?

I've using SSH Tunnel manager to easily set up and stop port tunneling over SSH to various servers at my company. That saved me the pain of opening up a new terminal window which will hang out there ...
1
vote
2answers
2k views

How to enable ssh login for _www user?

In order to deploy files the the apache server running on OS X host I want to ssh/scp to it using the _www user. I do not want to use root because I want to be sure that I always put the files with ...
9
votes
7answers
2k views

Is X11 still used today?

I have had X11 installed on my Mac for quite some time (as long as I have owned it I think) and have never used it. Do applications still use X11 or is out outdated at this point? Should I "learn" how ...
5
votes
1answer
2k views

ipad ssh application with solid copy / paste support

I have been using iSSH on the ipad when I need to ssh to my servers; however, one of the glaring problems with iSSH is that you don't have copy / paste support within the iSSH terminal application ...
1
vote
4answers
768 views

Change Snow Leopard Terminal window dependant on SSH Server

I can find it hard to differentiate between my dev and production server. I am using SSH to connect to the machines (both Ubuntu 10.04), and I was wondering whether there is a way to change the colour ...
1
vote
1answer
404 views

Some SSH commands do nothing?

I've been exploring SSH on my iPod and have noticed that some commands seem to just leave the console hanging or do nothing all together. Some examples are 'simulatecrash' or when I try to launch an ...