Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ssh ports



I've seen behaviour like this when the OS auto-negotiates the network
incorrectly. How fast is the network and what is your NIC set to?


On Sat, 2007-05-05 at 07:38 -0400, John Boland wrote:
> well,
> 
> that's the annoying part...
> there's nothing when i turn up the debug.  we've setup captures on the ports
> and there isn't anything out of place.  in transferring a 500K file, there
> might be 4 or 5 retransmit.  the capture shows the stall: packets are moving
> along and then stop for a couple of minutes and just resume.  there's
> nothing in dmesg or the messages files on either server.  on the target
> host, there are several rx_fcs_errors during the transfer. but, that's it.
> the firewall rules are setup to allow ftp. ftp-data, and ssh through and
> nothing else.  that's why i was asking about another port for return
> communication.
> 
> any thing else to look at?
> 
> tia...
> 
> 
> On 5/4/07, Dan Ritter <dsr at tao.merseine.nu> wrote:
> >
> > On Fri, May 04, 2007 at 04:21:09PM -0400, Boland, John wrote:
> > > i've been setting up an ssh server behind a firewall and only allowing
> > > port 22 through.
> > > ssh works like a champ. however, scp and sftp give stalled messages
> > > during transfers.  the files do eventually transfer but the time is a
> > > little less than waiting for the next ice age!
> > > it appears as though there is a back connection established for the
> > > transfer after ssh is setup.
> > > with ftp, i'd use the pasv command for the clients and set the max and
> > > min passive ports in the ftpd config file.  is there a similar thing in
> > > ssh?  if not, is there someway to know what set of ports to limit ssh to
> > > use for this back connection?
> >
> > No, and no. SSH only uses one port pair (22 by default).
> >
> > Where does it stall when you up the verbosity level (-vvv)?
> >
> > -dsr-
> >
> > --
> > .. .----. --   .-. . .- -.. .. -. --.   -.-- --- ..- .-.   -- .- .. .-..
> > .-.-.-   .-- .... ---   . .-.. ... .   .. ... ..--..
> > http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> > _______________________________________________
> > Discuss mailing list
> > Discuss at blu.org
> > http://lists.blu.org/mailman/listinfo/discuss
> >
> 
> 
> 
> -- 
> If it ain't broke, you're not trying hard enough!



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org