Zeb | howdy | 00:38 |
---|---|---|
Zeb | fresh (clean) install of 12.04 on a dell 1525 inspiron laptop -- no sound. Previously sound worked on 11.10 | 00:39 |
Zeb | any ideas? | 00:39 |
Zeb | oops, nevermind, fixed it :) | 00:42 |
=== jalcine is now known as Jacky | ||
=== moo is now known as Guest37981 | ||
Guest37981 | how do i get notifiactions from rss | 04:37 |
Guest37981 | *notifications | 04:38 |
Unit193 | By getting a rss client/feed reader. | 04:45 |
Guest37981 | what is best alternative for idm in ubuntu | 05:03 |
s-fox | Hello. | 09:26 |
=== yofel_ is now known as yofel | ||
tdn | After installing recent updates (new kernel), my LUKS encrypted system does no longer boot. It says: evms_activate not available. If I boot the previous kernel, I do not get this error. How do I fix this? | 10:49 |
tester | i'm not able to do scp file transfer or any other ssh job like sftp .....any help ??? http://paste.ubuntu.com/1000818 | 14:11 |
geirha | tester: Hm. Are you able to ssh root@192.168.62.129 ? | 14:17 |
tester | geirha: no ....gives me.... Read from socket failed: Connection reset by peer | 14:18 |
geirha | So it appears the server is kicking you out | 14:19 |
tester | geirha: yaah !! | 14:19 |
tester | any reason??? | 14:20 |
geirha | On the server; check the logs. In particular, /var/log/auth.log | 14:20 |
geirha | Might give some clues | 14:20 |
tester | yaah i'v checked it............. May 22 21:14:05 tester sshd[4117]: error: Could not load host key: /etc/ssh/ssh_host_dsa_key | 14:21 |
tester | i don't know wat the problem is ?? | 14:21 |
geirha | oh, odd. Seems the system's missing the host key | 14:22 |
geirha | is it Ubuntu (the server)? | 14:22 |
tester | yess ubuntu 10.04 | 14:23 |
geirha | ls -l /etc/ssh/ssh_host*key | 14:23 |
geirha | On my system, that lists three files; dsa, ecdsa and rsa | 14:23 |
geirha | Anyway, dpkg-reconfigure openssh-server should generate new host keys | 14:25 |
tester | files in dir /etc/ssh/ are : moduli,ssh_config,sshd_config.....no other thing | 14:25 |
geirha | ok, then run dpkg-reconfigure openssh-server | 14:26 |
geirha | Should say stuff like «Creating SSH2 RSA key; this may take some time ...» | 14:26 |
geirha | and afterwards, you should have some key files in /etc/ssh | 14:27 |
tester | yaah .... made the key.......now wat ??? | 14:27 |
geirha | try connecting via ssh | 14:27 |
tester | do i have to share this from server to client ??? | 14:29 |
geirha | Hm? | 14:30 |
geirha | you don't copy any of the files in /etc/ssh to the client, no | 14:31 |
geirha | First time the client connects, the server will send the public part of the key pair. The client will then ask you if this looks right, and when you say yes, it stores that key along with the hostname/ip | 14:32 |
tester | ok....what permissions i'm supposed to put on these generated files.... | 14:32 |
geirha | tester: leave them as is | 14:32 |
geirha | dpkg-reconfigure has set the right permissions on them for you | 14:32 |
tester | key file is rw-------- and pub file is rw-r--r-- | 14:33 |
geirha | looks correct | 14:33 |
geirha | next time the client connects, it compares the host key with what it has stored in its know_hosts database. If they match, great. If they don't, a giant warning is issued, and the connection is cancelled. | 14:35 |
tester | geirha: the file has been sent.......Yahoo ! Thank You very much .... u are rocking | 14:38 |
tester | thanks for this help.... i really liked the way you helped me....thanks again....this channel and you has been helpful for a beginner like me.... | 14:39 |
geirha | good to hear you got it sorted :) | 14:39 |
tester | thanks.... i think now i can send files on this method through sftp | 14:40 |
geirha | It is odd that those keys weren't already generated though. Perhaps the installation of openssh-server was aborted midway? | 14:41 |
tester | ok...wat is the diff with rsa / dsa | 14:41 |
geirha | Different types of encryption. | 14:41 |
tester | geirha : on the client side how can i check those imported ssh_host_key files and manage them.... | 14:42 |
geirha | They get stored in ~/.ssh/known_hosts | 14:43 |
geirha | the key files should never ever leave the server; and only be accesible to the root user. Only the pub files are publicized | 14:45 |
tester | when working with other keys how should i place them | 14:46 |
geirha | the client will encrypt a message using the server's host key. And such an encrypted message can only be decrypted using the secret key | 14:46 |
geirha | the client sends that encrypted message to the server, and waits for the server to decrypt it and send it back. That way the client knows the server is who it claims to be | 14:47 |
tester | how to encrypt those key file using passphrase and ....how to use it from client | 14:48 |
geirha | ... are you asking how to set up public key authentication? | 14:49 |
tester | no ...... the key files generated through passphrase.... i think you are also correct.... | 14:50 |
tester | when i do ----- sftp 192.168.62.129 it gives me warning | 14:52 |
tester | Warning: Permanently added '192.168.62.129' (RSA) to the list of known hosts. | 14:52 |
geirha | Yes, but only the first time | 14:52 |
tester | can i control this | 14:53 |
geirha | what do you mean? | 14:53 |
tester | it added me automatically.....you said i can check for the correct server | 14:54 |
geirha | Ah, well in your case it is configured to just accept the host key if it doesn't have it already | 14:55 |
tester | geirha : while doing sftp it landed me directly as Root @ /root........wat can i do to do it as i want ? | 14:56 |
geirha | you mean you want to start in a different directory? | 14:57 |
geirha | sftp user@ip:/other/dir | 14:57 |
tester | yaah and also as another user.... | 14:57 |
geirha | right | 14:59 |
tester | i did sftp root@ip: /home/tester | 14:59 |
tester | but igot..... Fetching /root/ to /home/tester/root Cannot download non-regular file: /root/ | 14:59 |
geirha | you added a space | 15:02 |
geirha | sftp user@ip:/path/here | 15:02 |
tester | how can i create different SFTP / rooted directory for different users calling from diff. IPs | 15:02 |
geirha | that has to be one word | 15:02 |
geirha | That I'm afraid is out of my league | 15:02 |
tester | yaah the space made the difference....thanks | 15:03 |
geirha | There's something called scponly that can limit users to a directory iirc. | 15:04 |
geirha | I don't think you can limit by ip though | 15:05 |
tester | when i do .... ssh -X ip ......... it says New release 'natty' available. then goes to prompt.... | 15:06 |
tester | do i'v to download it first | 15:06 |
tester | ok...... so the logins i made....were they as anonymous ? | 15:07 |
geirha | No, with ssh you must log in as a particual user | 15:07 |
geirha | if you don't provide a username to the ssh, sftp or scp command, it uses the same username as you're using on the client | 15:08 |
tester | oh i see.... | 15:08 |
geirha | !scponly | 15:09 |
ubot2 | Factoid 'scponly' not found | 15:09 |
geirha | meh, worth a shot | 15:09 |
tester | ok... | 15:09 |
tester | so this whole session is the full tutorial for SSH and SFTP.... thanks to Geirha | 15:10 |
tester | goodbye geirha... | 15:15 |
=== nhandler_ is now known as nhandler | ||
=== arizona_bay is now known as Guest88321 | ||
=== Guest88321 is now known as XX | ||
sw0rdfish | hi, did the old version ubuntu 8.10 or 9.10 live CD have stuff like smartctl or gparted installed? | 20:31 |
mh0 | pretty sure it did | 21:00 |
mh0 | sw0rdfish: ^ | 21:00 |
sw0rdfish | awww :( | 21:26 |
sw0rdfish | well I wish I had tried it. | 21:27 |
sw0rdfish | but anyhow the dumb bish took back her laptop, I doesn't have to waste my time on it. | 21:27 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!