Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I installed debian from a business card cd iso (basically a very stripped down version of it).

I am trying to ssh to a machine via a proxy (set up in my .ssh/config), but am receiving an error:

ssh user@servername.com -v
OpenSSH_5.5p1 Debian-6+squeeze2, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /home/user/.ssh/config
debug1: Applying options for servername.com
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Executing proxy command: exec connect -S proxy-im.proxyhost.com:1080 servername.com 22
debug1: permanently_drop_suid: 1000
debug1: identity file /home/user/.ssh/id_rsa type -1
debug1: identity file /home/user/.ssh/id_rsa-cert type -1
debug1: identity file /home/user/.ssh/id_dsa type -1
debug1: identity file /home/user/.ssh/id_dsa-cert type -1
/bin/bash: line 0: exec: connect: not found
ssh_exchange_identification: Connection closed by remote host

It seems I don't have a command called "connect" installed on my machine. This is the manpage of the command: http://perkamon.alioth.debian.org/online/man2/connect.2.php

apt-get install connect fails. Is it part of some other package? If so how do I find it?

share|improve this question

I just did a search for "apt-get install connect" in a popular search engine, and it autocompleted to "apt-get install connect-proxy"

I still would have like to have seen a way to know what package this command was in via the man page, otherwise how would someone track something like this down.

share|improve this answer
    
On Ubuntu you could just have typed connect on the command line, and it would automatically tell you what the package name is. Usually the package name will be the same on Debian. There might be a way to enable the same feature on Debian such that typing a command which isn't installed will automatically tell you which package you are missing. – kasperd Dec 8 '15 at 21:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.