Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ssh client: Pseudo-Terminal will not be allocated
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
bastibasti
Guru
Guru


Joined: 27 Nov 2006
Posts: 497

PostPosted: Mon Feb 04, 2013 10:18 am    Post subject: [SOLVED] ssh client: Pseudo-Terminal will not be allocated Reply with quote

Hi all,

iam trying to build a router.

Well so far everything is working, as long as iam doing everything manually.

The router sets up a dynamic ssh tunnel , then connects a openvpn over that tunnel.

So console 1
Code:
ssh host -D 6666
(login via key without password)

Console 2
Code:
./openvpn_connection_script

The script takes care to keep the default GW for ssh, after changing it to the default gw in my vpn network

now I want to add the ssh to the script like
Code:
ssh host -D 6666 &


Pseudo-Terminal will not be allocated because std-in is not a terminal

the dynamic proxy is not created


Last edited by bastibasti on Mon Feb 04, 2013 11:03 am; edited 1 time in total
Back to top
View user's profile Send private message
bastibasti
Guru
Guru


Joined: 27 Nov 2006
Posts: 497

PostPosted: Mon Feb 04, 2013 11:02 am    Post subject: Reply with quote

Dont bother

Code:
-t -t
did the job

:-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum