Hi Tramp-Devel,
When I attempt to use tramp in the same emacs session to connect to different hosts sitting behind a single router (distinguished by different port numbers), I only get files from the host to which I first connected via that router in that session.
Example:
results as expected.
- independent demo of differentiation:
$ for port in 30 32; do ssh -p $port
address@hidden sum /etc/hostname; done
20289 1
53057 1
$
Yes, I can construct workarounds to circumvent this bug, but I'd much rather that Tramp deal with this correctly and not treat all connections to the same hostname as the same when they have different port numbers.
Perhaps a clue to the cause of this bug can be seen in the name of buffer "*tramp/ssh
address@hidden*" used for both connections; it does not include a port# in the buffer name.
I attach the data created by tramp-bug as tramp-bug.txt and the buffer as address@hidden
Thanks - Tzvi.
--
Tzvi Edelman cell:+972-50-849-8805 USphone:+1(732)418-1432 <
address@hidden>