Hlavny pocitac --> 1. --> 2. --> 3. --> 4. --> 5. ale s tym aby som vedel hociktory invidualne ovladat z hlavneho pocitaca? Mozem sa napojit na vsetky a potom vykonavat rozne operacie alebo mam do CRONu napisat nech sa napoji az ked cas uplynie a nech uzivatela odhlasi? Neviem zatial ako to ma fungovat. Aha a este mam trosku problem s klucmi, dostanem sa maximalne tu:
viktor@home:~$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/viktor/.ssh/id_rsa): /home/viktor/.ssh/id_rsa already exists. Overwrite (y/n)? y Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/viktor/.ssh/id_rsa. Your public key has been saved in /home/viktor/.ssh/id_rsa.pub. The key fingerprint is: nepodstatny udaj viktor@home:~$ scp ~/.ssh/id_rsa.pub viktor@127.0.0.1:/.ssh/temp viktor@127.0.0.1's password: scp: /.ssh/temp: Permission denied viktor@home:~$ sudo scp ~/.ssh/id_rsa.pub viktor@127.0.0.1:/.ssh/temp viktor@127.0.0.1's password: scp: /.ssh/temp: Permission deniedKazda rada mi pride v hod.
Dakujem