Re: [kde] Add "enter" to bookmark in Konsole



Chris Jones wrote, On 11/03/2008 12:14 PM:

/etc/ssh/ssh_config
For all hosts
Host *
Compression yes
ForwardX11 yes
Host by host settings
Host XXX.YYY.ZZZ
Compression yes
ForwardX11 yes

My understanding is that a First-Match rule is employed,
so you want to put the "Host *" at the bottom of your config file
as a last-chance match.

The file /etc/ssh/ssh_config is reasonably self-documenting...

Also, if you don't wish to edit the global system files, you can also do
the same on a user by user basis, by editing ~/.ssh/config

I'd certainly suggest editing the user config file. (it's possible
that system upgrades will blow the /etc/ssh file away, too)


Please note that the "Host" designation is arbitrary -- it can be any
name and does not have to be a DNS name or IP address (though that's
the default interpretation by ssh)

So, you could create a bookmark entry for host diddle that did X forwarding
with something like:

Host bm-diddle
Hostname diddle
User jimbo
ForwardX11 yes

so that you aren't overriding the non-forwarding default behaviour when
just using the hostname 'diddle' as-is.

FWIW, i did not find anything in the IETF draft on the ssh URI that
intimates passing ssh options in the URL:

http://tools.ietf.org/wg/secsh/draft-ietf-secsh-scp-sftp-ssh-uri/

(it's also a bit disconcerting that this appears to have languished
and is marked "Expired" :-( )

--stephen

--
Stephen Dowdy - Systems Administrator - NCAR/RAL
303.497.2869 - sdowdy@xxxxxxxx - http://www.ral.ucar.edu/~sdowdy/

___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.



Relevant Pages

  • Re: ssh X11 forwarding problem
    ... ForwardX11 yes ... back in with 'ssh -X' and tried xeyes again and it says: Error: Can't ... With the other network's host it automatically set it to ... debug1: Authentication succeeded. ...
    (Debian-User)
  • Re: [kde] Add "enter" to bookmark in Konsole
    ... Compression yes ... ForwardX11 yes ... Host by host settings ...
    (KDE)
  • Re: [kde] Add "enter" to bookmark in Konsole
    ... Compression yes ... ForwardX11 yes ... Host by host settings ... the same on a user by user basis, ...
    (KDE)
  • Re: Kaputtes X11 auf 10.5.4
    ... Launchd den X-Server und gut ist. ... Host ... ForwardAgent yes ... ForwardX11 yes ...
    (de.comp.sys.mac.misc)
  • Re: SSH and X11 Forwrding query
    ... > moving to Sarge, it refuses to co-operate. ... I can ssh or scp to home using a host.domain address. ... > where the host address is another host.domain address that I ... both "ForwardX11 yes" and -X will only work if the "X11Forwarding yes" ...
    (Debian-User)