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

learn more… | top users | synonyms

3
votes
1answer
5k views

How to ssh to remote web server without using a password

I'm new to OS X. As per title, I'm having trouble connecting to my web server through SSH. My server accepts keys and we don't use passwords. I've come from windows, and on windows I used PuTTY to ...
2
votes
1answer
2k views

How to prevent warnings like No xauth data when doing ssh from OS X to other machines?

I get Warning: No xauth data; using fake authentication data for X11 forwarding. when I do ssh to other machines from my OS X machine which has X-server installed. echo $DISPLAY returns something ...
4
votes
1answer
4k views

How can I permanently add my SSH private key to Keychain so it is automatically available to ssh?

It seems that ssh-add -K ~/.ssh/id_rsa will load your key but will ask for the password each time you reboot. I am looking for a solution that would not require me to re-enter the key password ...
0
votes
0answers
157 views

Change Mac mini server name

When I log out of my Mac mini server using Terminal it says: Connection to www.kannhost.co.uk closed. (www.kannhost.co.uk is one of the domains that I host and have set up using vhosts.php) How ...
5
votes
2answers
5k views

How to ssh from iPad with external keyboard and Emacs?

I am thinking about retiring my portable for an iPad + keyboard. (With Amazon/Linode/etc as server.) I tried the iSSH app and ran Emacs in a terminal (not X Windows), using the Apple external ...
0
votes
1answer
220 views

How to configure and use multiple ssh RSA keys with Keychain help

I am looking for a solution that would automatically load multiple RSA keys at login, some of them having passwords stored in the Keychain. Example: first keys would be obviously in ~/.ssh/id_rsa and ...
1
vote
1answer
291 views

Key Verification Failed!

I was sshing into my iPhone, and I added an app from my computer. Then I switched computers and was going to fix something in it, and it gave me a semi-disconcerting error message... ...
8
votes
4answers
3k views

Getting notified when someone logs into a server using SSH or Remote Desktop

I have a mac mini server running OS X Lion Server 10.7.3. It pretty much runs unattended without problems. However, the server is under constant "attack" according to the logs. The firewall and ...
0
votes
1answer
79 views

Does SSH on Mac keep a local cache of data?

If I'm say, editing a file in VIM, the state of the remote machine needs to be sent to my Mac. I know that browsers cache images and such. Does SSH do the same? Are there any programs for Mac that do ...
5
votes
1answer
10k views

How to restart sshd in OSX Lion?

I have configured ssh keys for github. I have multiple ssh keys configured already. I need to add new ssh keys for bitbucket. But it does not seem to be working. How do i restart sshd in OSX Lion?
3
votes
1answer
430 views

How do I restore a previous version of my ssh keypair files?

I was following the Github tutorial and I generated a new SSH key pair. But now when I'm online, Google keeps throwing up SSL errors (and so does everywhere else with SSL, for that matter). What ...
3
votes
1answer
870 views

ssh terminal window closes immediately when opened

I am seeing some odd behavior when using the Terminal app to open an ssh window to a remote machine. I normally connect to many different Linux servers from my MacBook Pro running Mac OS X 10.7.3, ...
10
votes
1answer
3k views

Create a remote only user in OS X?

I'd like to create a user on OS X that has remote ssh login privileges where they can access a certain folder /path/to/the/goods/ and add/modify/delete files manually or via rsync while the rest of ...
3
votes
1answer
298 views

What's the best way to login to remote servers?

I'm currently logging in to a remote server by opening terminal, starting ssh-agent, adding a key, launching xterm and then connecting via ssh. What tools should I be using for this? I've looked at ...
2
votes
3answers
5k views

Is there a (free) graphical SSH file transfer client for Mac? [duplicate]

Possible Duplicate: What's a good graphical SFTP utility for OS X? I'm looking for an SSH client that includes drag and drop file transfer functionality. I'm aware of CyberDuck, but ...
6
votes
1answer
6k views

How can I mount a remote SSH folder on Mac?

I do not like SFTP client applications, like Cyberduck. I want to access the SSH folder as a local disk driver, where you can read/write/copy/paste files. I tried fuse4x+sshfs. It works but has a ...
8
votes
4answers
2k views

Remotely SSH to IP address in home network

I've got a device at home I want to SSH to from work. The device has port 22 open locally and I have port 22 opened on my AirPort Extreme. However, on the AirPort Extreme it says the open 22 port only ...
3
votes
1answer
458 views

How do I enable SSH server on startup through Terminal?

Curious as to how I can enable the sshd to start on startup solely using terminal. The GUI is great and everything but it doesn't go well with my bash scripts.
7
votes
2answers
640 views

“Mount” network share as a volume via SSH?

There is a remote server that I can connect to only via SSH, and storage space have been allocated for me in that server. Is there a software that lets me "mount" a network share via SSH so that I ...
3
votes
2answers
575 views

SSH Key Error, sudo works fine

When I try to ssh (using ssh user@server.com) into my server at home from either the local network or from outside, I get the following error: But if I use sudo ssh user@server.com, it works with no ...
8
votes
3answers
4k views

ssh -A doesn't properly enable forwarding of authentication agent connection

I love ssh -A, which allows me to use my local ssh key when establishing a connection from a remote server. For example, I ssh -A host1.example.com and then from there I can ssh host2.example.com (or ...
12
votes
2answers
6k views

How can I prevent an SSH session from hanging in OS X Terminal?

When I close my MacBook with an active SSH session in Terminal and then wake it up, the prompt goes unresponsive. In about five minutes it says Write failed: Broken pipe and terminates. This ...
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 ...
9
votes
3answers
6k 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
2answers
5k 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
550 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
19k 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
820 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
589 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 ...
2
votes
1answer
417 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
168 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
474 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 ...
15
votes
2answers
24k 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
268 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
654 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
938 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
5k 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
3k 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
3k 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 ...
31
votes
9answers
25k 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
451 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
470 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
263 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 ...
2
votes
1answer
803 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 ...