All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
xterm/rxvt running bash with ssh-agent
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
xterm/rxvt running bash with ssh-agent - Feb. 12, '05, 2:36:22 AM
|
|
|
meridian
Posts: 3
Joined: Jul. 17, '04,
Status: offline
|
It took me a while to figure out how to get this working so I thought I might post it here.
If you use a Xserver (I'm using starnet's xwin32) and want an xterm or rxvt etc without having to run the cmd.exe style box as well, then you can do it by creating a shortcut with the below command line in it. Note this will run ssh-agent under this session...
Make a shortcut which runs this for rxvt with bash and
C:\WINNT\system32\PSXRUN.EXE -l C:\SFU\tmp\log.txt -u /usr/local/bin/ssh-agent /usr/local/bin/bash -l -c "/usr/local/bin/rxvt -e /usr/local/bin/bash"
For xterm you need to use X11R5 SFU version of xterm to get xterm to work.
C:\WINNT\system32\PSXRUN.EXE -l C:\SFU\tmp\log.txt -u /usr/local/bin/ssh-agent /usr/local/bin/bash -l -c "/usr/X11R5/bin/xterm"
I hope someone finds this helpful
Stephen
|
|
|
RE: xterm/rxvt running bash with ssh-agent - May 26, '06, 4:15:58 AM
|
|
|
meridian
Posts: 3
Joined: Jul. 17, '04,
Status: offline
|
Hmm this doesn't seem to work anymore but this does
%windir%\system32\PSXRUN.EXE -l C:\SFU\tmp\log.txt -u /usr/local/bin/ssh-agent /usr/X11R5/bin/xterm -e /usr/local/bin/bash
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|