Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

cant get other ssh ports to work

Help
2007-08-25
2013-06-03
  • scrub loser
    scrub loser
    2007-08-25

    dellbox ~ $ /usr/bin/cssh -v
    Version: 3.18 (2005/11/28 19:47:37)

    and Im trying to get cssh to talk to servers on ports other than the default of 22
    I have my ~/.ssh/config set up correctly, and I can connect to my host

    dellbox ~ $ ssh progressive
    Last login: Sat Aug 25 11:18:00 2007 from cpe-071-070-174-094.nc.res.rr.com
    [jason@tf1 ~]$

    but no dice with cssh
    dellbox ~ $ /usr/bin/cssh progressive
    WARNING: unknown host progressive - ignoring

    dellbox .ssh $ cat config
    Host progressive
            Hostname 216.166.xxx.xxx
            HostKeyAlias progressive
            Port 2222

    any idears what Im doin wrong?

    db

     
    • cantabile03
      cantabile03
      2007-09-01

      I have the exact same problem. My config is a bit different but it works also outside of cssh and not with it.
      I'm back to 1.37 till it is repaired :-)

       
    • scrub loser
      scrub loser
      2007-09-02

      neat. any idear where I can download this specific vers? I cant seem to find it.

      -db

       
    • scrub loser
      scrub loser
      2007-09-02

      well, I got it working with  clusterssh-3.19.1
      and the -i switch..

      -db

       
    • cantabile03
      cantabile03
      2007-09-02

      Well, it's in my portage tree (gentoo). Dunno where you can get it otherwise.
      I'll try the -i switch :)

      Cheers.
      Cantabile03

       
    • /usr/bin/cssh progressive:2222

      should work as well as using the -i switch

        Duncs

       
      • Sorry, incorrect answer - it helps if i read the problem.

        Yes, -i is the correct way to go.

        This is because you are providing a hostname that is an alias with your .ssh/config file - cssh does a host lookup on all the names provided to ensure it can open a window, and since 'progressive' is a definition name in .sshconfig and not a real host name it fails to oen up the connection.

        Using -i stops the host name lookup being fatal.

          Duncs