Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

10.6 came with a lame feature where it shows a dialog whenever you click a ssh:// link, saying:

Terminal is opening a ssh connection to for Safari. Do you want to allow this? This will reveal your user name to the host that you are connecting to.

Same for Firefox.

share|improve this question

migrated from Sep 29 '09 at 7:37

This question came from our site for professional and enthusiast programmers.

There doesn't appear to be a way to disable the prompt. I filed rdar://problem/7277164, you (and others finding this question) may want to file an enhancement referencing it. – Sidnicious Oct 5 '09 at 22:18
I've honestly never clicked on an ssh:// link or even seen one that I can recall. Is there a reason why you can't just login normally? – Hasaan Chop Oct 21 '09 at 4:28
It's not lame at all. Do you really want a link to potentially reveal your valid username to a third party without your awareness? Maybe you'd be happier on windows, where they err on the side of insecurity. And look where that gets you. :) – Randal Schwartz Oct 29 '09 at 7:26
Yes, it is lame. If Snow Leopard were smart, it would disable this notification if the host was in the known_hosts file. – sirlancelot Nov 17 '09 at 18:26
@sirlancelot At least since Mountain Lion, this has been implemented. Screenshot – Daniel Beck Aug 13 '12 at 21:47

It appears that this is a feature of, and unrelated to the browser in any way. And as suggested, iTerm doesn't display this warning when it's started with a command to open an ssh: URL, so setting iTerm to be your default ssh: URL handler appears to be the way to go.

I just verified that by changing Firefox's default application for handling ssh: URLs to iTerm, I don't get this warning dialog. (I did this using the Preferences/Applications/ssh entry, choosing iTerm as my default preferred handler.)

Using RCDefaultApp (, I was able to change the system-wide default for handling SSH URLs. (Once the preference pane is installed, go to the "URLs" tab of the pane, scroll down to "ssh", and choose iTerm from the pulldown list of applications.) Once this was done, Safari also used iTerm, and I didn't get the warning dialog.

As Randal Schwartz said in the comment, though, this is a true feature of warning you of the possibility of leaking information (your username) to a host out of your control. I agree that it's a bit draconian, but it's important to understand that by switching to iTerm, you give up this feature...

share|improve this answer
"It appears that this is a feature of, and unrelated to the browser in any way." Not quite. Terminal only warns if the URL has been "quarantined" by the sending application. Safari quarantines files it downloads and URLs it opens. You can put an ssh: URL in a text file and open it from TextEdit and you won't be warned by Terminal. – Chris Page Sep 22 '11 at 1:12
"…iTerm doesn't display this warning when it's started with a command to open an ssh: URL…" It really ought to. This is a real security issue. I think the only question for Terminal is whether it should have a means for you to tell it not to warn about specific hosts. – Chris Page Sep 22 '11 at 1:14

Opera opens the Terminal window but does not display that warning (it displays its own warning, which you can disable).

I don't know what is different about how Opera launches the Terminal versus how Safari and Firefox do it though.

share|improve this answer
Just to ask the obvious: so on your Mac, Terminal does show the warning when opening from Safari? – Arjan Nov 4 '09 at 10:00
Yes, both Safari and Firefox show the warning. – JimG Nov 5 '09 at 18:11
Safari (and apparently Firefox) "quarantines" downloaded files and URLs that it sends to other processes. Terminal only warns about quarantined URLs. It sounds like Opera performs its own warning and does not quarantine URLs. – Chris Page Sep 22 '11 at 1:16

iTerm2 doesn't have this problem:

share|improve this answer
It probably should provide a warning like Terminal. The only issue is whether there should be a means to suppress it for specific hosts. – Chris Page Sep 22 '11 at 1:17

You must log in to answer this question.

protected by Daniel Beck Aug 13 '12 at 21:45

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?