sample script to use a ssh with bound to a specific ipn
Signed-off-by: Nico Schottelius <nico@ikn.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								6ab5f71b6d
							
						
					
				
			
			
				commit
				
					
						5e597cbe85
					
				
			
		
					 1 changed files with 5 additions and 0 deletions
				
			
		
							
								
								
									
										5
									
								
								old/ssh-with-source-ipn-set.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										5
									
								
								old/ssh-with-source-ipn-set.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
					@ -0,0 +1,5 @@
 | 
				
			||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					rhost=nico@62.65.141.133
 | 
				
			||||||
 | 
					bhost=62.65.149.149
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ssh -t "${rhost}" "set -x; ssh -b \"${bhost}\" $@"
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue