Results 1 to 10 of 11
hi boys, I want to connect to a server with this command:
ssh -L 8119:news.cs.unibo.it:119 emisurac@dotto.cs.unibo.it
when I start Mozilla Thunderbird. How do it??
thanks...
- 10-29-2005 #1Just Joined!
- Join Date
- Sep 2005
- Posts
- 9
automatic connection to any serever
hi boys, I want to connect to a server with this command:
ssh -L 8119:news.cs.unibo.it:119 emisurac@dotto.cs.unibo.it
when I start Mozilla Thunderbird. How do it??
thanks
- 10-29-2005 #2
erm, you could create a script like this one:
(note: you might have to change the command to start thunderbird to one that works on your system).Code:#!/bin/bash # Connect to server, and if succesful start thunderbird ssh -L 8119:news.cs.unibo.it:119 emisurac@dotto.cs.unibo.it && thunderbird
Then run the script when you want to start thunderbird, and it'll firstly try and connect to the server, and then if that's succesful it'll start thunderbird.
- 10-29-2005 #3Just Joined!
- Join Date
- Sep 2005
- Posts
- 9
thank for help, but I dont know where I must put the script, which you write. Moreover I must to put a password.
- 10-29-2005 #4
okay, write the script, call it e.g. ctt save it in /bin and then make in executable with
and then, whun you want to run thunderbird, open up a terminal and typeCode:chmod +x /bin/ctt
and it should prompt for a password and then open thunderbird.Code:ctt
If you have any problems with the script, come back and i'll try and fix them, since I'm not 100% sure it'll work.
- 10-29-2005 #5Just Joined!
- Join Date
- Sep 2005
- Posts
- 9
sorry but I have a problem:
I start the command ctt and it connect to server news.cs.unibo.it after I put the password, but dont open thunderbird, start it only when I close the connection at news.cs.unibo.it.
- 10-29-2005 #6
okay, then try this as the script, it should work, though it does open thunderbird before you shh....
let's hope that that works.Code:#!/bin/bash thunderbird & ssh -L 8119:news.cs.unibo.it:119 emisurac@dotto.cs.unibo.it
- 10-29-2005 #7Just Joined!
- Join Date
- Sep 2005
- Posts
- 9
I already tryed but strat thunderbird but non start connection
- 10-29-2005 #8Just Joined!
- Join Date
- Sep 2005
- Posts
- 9
I think if I can edit the exucutable file of thunderbird and put on this the all connection information.
But I don't it.
- 10-29-2005 #9
I'm thinking that I've got the wrong end of the stick here.
What is it that you want to do?
a) Connect to a mailserver via the ssh -L stuff in Thunderbird
b) ssh -L into a server before you start thunderbird/every time you use thunderbird
c) another.
- 10-30-2005 #10Just Joined!
- Join Date
- Sep 2005
- Posts
- 9
b) ssh -L into a server before you start thunderbird/every time you use thunderbird


Reply With Quote
