Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'SSH solution for tcsh?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
SSH solution for tcsh?
Authored by: soulrider2k on Nov 05, '02 09:49:30PM

added:
"alias ssh 'set TERM=vt100 ;ssh'"
to .tcshrc (I don't use bash :-)

any idas why i get:
[habanero:~] bryan% ssh
Alias loop.
[habanero:~] bryan%


back when attempting ssh connections?

I don't appear to have any other ssh aliases...

[habanero:~] bryan% alias | grep ssh
ahost clear; ssh admin@hostx
ct clear; ssh host1
g2k clear; ssh boys@host2
pps clear; ssh admin@host3
skully clear; ssh bryan@host4
ssh set TERM=vt100 ;ssh

Any thoughts would be most welcome. I am STOKED that I found this thread, I am so sick of invoking screen when i want to edit a file with vim (:syntax on)



[ Reply to This | # ]
SSH solution for tcsh?
Authored by: melo on Nov 06, '02 08:15:11AM

The alias you use end's with ssh again, so tcsh tries to replace it again... It creates a alias loop.

Try this:

alias ssh 'set TERM=vt100; /usr/bin/ssh'

Best regards,



[ Reply to This | # ]
SSH solution for tcsh?
Authored by: soulrider2k on Nov 06, '02 07:36:30PM

I found a solution for this.
when using tcsh, put this in your .tcshrc file.....

alias ssh 'setenv TERM vt100;/usr/bin/ssh'


Sweet.



[ Reply to This | # ]