Wednesday, February 2, 2011

How to redirect ssh output Session into main screen terminal in iphone



first we need to install the pkg screen

1. apt-get install screen

2. then in the iphone terminal using mobile or root user we run : screen -S SessionName

3.now in the ssh Session using the same username we run : screen -x username/SessionName.

-- Troubleshoot

if you get some think like these after runing more than one Session :

error0327s-iPhone:~ mobile$ screen -x mobile/main
There are screens on:
2037.main (Private)
2043.main (Private)
There is no screen to be attached matching main.

you need to enter the full new SessionName -- >

error0327s-iPhone:~ mobile$ screen -x mobile/2037.main


No comments: