working remotely

Pavlos Parissis p_pavlos at freemail.gr
Sat Sep 3 20:47:39 EEST 2005


Kalispera apo to zesto amsterdam,
An afta pou theleis na trexeis einai kati stantard opws backup etc egw tha ekana
to eksis
1) create public/private keys sto pc apo to opoio kaneis ssh connect
2) copy the public key sto pc pou tha trexoun ta apps sou
3) ftiaxneis ena script, sto pc POU tha trexoun ta apps sou,  to opoio tha
ektelei ta apps sou. Min ksexaseis na valeis to & sto telos ths kathe grammhs
4) sto authorized_keys file tou pc aftou tha evaza command="foo" gia to public
key pou molis eftiaksa
5) tha eftixna sto ~/.config mou, sto pc APO to opoio tha kanw connect, ena
entry gia to pc POU tha kanw connect na kanei private/public authintication me 
private key pou molis eftiksa

etsi otan tha ekana apo to pc mou exei to private key
ssh pc_to_run_the_apps
afto tha ekane connect kai tha etrexe to foo script kai meta disconnect
to kleidi den mporei na xrisimopoihthei gia normal login logo tis command="foo"
sto ~/.ssh/authorized_keys

fisika rikse mia matia sta man tis ssh_config cmd

elpizw na voithisa
pavlos


Quoting Argiris Mokios <amok at auth.gr>:

> ÊáëçóðÝñá,
> 
> Ý÷ù Ýíá linux pc óôï ïðïßï óõíäÝïìáé remotely ìÝóù ssh.
> Ôï ðñüâëçìá åßíáé üôé èÝëù íá êÜíù ssh login êáé íá ôïõ âÜæù íá ôñÝ÷åé
> êÜðïéá ðñïãñÜììáôá êáé Ýðåéôá áöïý êëåßóù ôçí óýíäåóç, áõôÜ íá
> óõíå÷ßóïõí íá åêôåëïýíôáé.
> Ðþò ìðïñåß íá ãßíåé êÜôé ôÝôïéï;
> 
> -- 
> Argiris Mokios
> Aristotle Univ. of Thessaloniki   Faculty of Engineering
> Dept. of Electrical and Computer Engineering
> Electronics and Computers Dept.
> Thessaloniki, 54124, GREECE
> Tel: (30)2310994174   email: amok at auth.gr
> 
> 
> -- 
> linux-greek-users mailing list -- http://lists.hellug.gr
> 






More information about the Linux-greek-users mailing list