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][email protected]'
> > 
> >    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 [email protected]" or bind a key to "neww 'ssh
> [email protected]'"
> 
> > 
> >    thanks anyway.
> > 
> > References
> > 
> >    Visible links
> >    1. mailto:[email protected]
> 
> > ------------------------------------------------------------------------------
> > 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
> > [email protected]
> > 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to