You could also do eg:

bind S command-prompt -p host "new-window 'ssh %%'"

If you prefer to type in where you want to ssh to :-).



On Sat, Dec 11, 2010 at 11:30:47AM +0000, Nicholas Marriott wrote:
> On Sat, Dec 11, 2010 at 12:26:21PM +0800, Cheney wrote:
> >    i use
> > 
> >    tmux new -s 11.38.9.145 'ssh [1]r...@11.38.9.145'
> > 
> >    to create a new-session on the remote
> > 
> >    atfer that i want to create a new-window and still on the remote
> > 
> >    is there any shortcut? C-b c? will create a new-window on locale
> 
> Run "tmux neww 'ssh r...@11.38.9.145" or bind a key to "neww 'ssh
> r...@11.38.9.145'"
> 
> > 
> >    thanks anyway.
> > 
> > References
> > 
> >    Visible links
> >    1. mailto:r...@11.38.9.145
> 
> > ------------------------------------------------------------------------------
> > Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
> > new data types, scalar functions, improved concurrency, built-in packages, 
> > OCI, SQL*Plus, data movement tools, best practices and more.
> > http://p.sf.net/sfu/oracle-sfdev2dev 
> 
> > _______________________________________________
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
> 

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to