User1: howdy
User1: fresh (clean) install of 12.04 on a dell 1525 inspiron laptop -- no sound. Previously sound worked on 11.10
User1: any ideas?
User1: oops, nevermind, fixed it :)
User2: how do i get notifiactions from rss
User2: *notifications
User3: By getting a rss client/feed reader.
User2: what is best alternative for idm in ubuntu
User4: 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?
User5: i'm not able to do scp file transfer or any other ssh job like sftp .....any help ???   http://paste.ubuntu.com/1000818
User6: User5 Hm. Are you able to ssh robinsonkelly@example.org ?
User5: User6 no ....gives me.... Read from socket failed: Connection reset by peer
User6: So it appears the server is kicking you out
User5: User6 yaah !!
User5: any reason???
User6: On the server; check the logs. In particular, /var/log/auth.log
User6: Might give some clues
User5: 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
User5: i don't know wat the problem is ??
User6: oh, odd. Seems the system's missing the host key
User6: is it Ubuntu (the server)?
User5: yess ubuntu 10.04
User6: ls -l /etc/ssh/ssh_host*key
User6: On my system, that lists three files; dsa, ecdsa and rsa
User6: Anyway,   dpkg-reconfigure openssh-server   should generate new host keys
User5: files in dir /etc/ssh/ are : moduli,ssh_config,sshd_config.....no other thing
User6: ok, then run   dpkg-reconfigure openssh-server
User6: Should say stuff like Â«Creating SSH2 RSA key; this may take some time ...Â»
User6: and afterwards, you should have some key files in /etc/ssh
User5: yaah .... made the key.......now wat ???
User6: try connecting via ssh
User5: do i have to share this from server to client ???
User6: Hm?
User6: you don't copy any of the files in /etc/ssh to the client, no
User6: 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
User5: ok....what permissions i'm supposed to put on these generated files....
User6: User5 leave them as is
User6: dpkg-reconfigure has set the right permissions on them for you
User5: key file is rw-------- and pub file is rw-r--r--
User6: looks correct
User6: 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.
User5: User6 the file has been sent.......Yahoo ! Thank You very much .... u are rocking
User5: 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....
User6: good to hear you got it sorted :)
User5: thanks.... i think now i can send files on this method through sftp
User6: It is odd that those keys weren't already generated though. Perhaps the installation of openssh-server was aborted midway?
User5: ok...wat is the diff with rsa / dsa
User6: Different types of encryption.
User5: geirha : on the client side how can i check those imported  ssh_host_key files and manage them....
User6: They get stored in ~/.ssh/known_hosts
User6: the key files should never ever leave the server; and only be accesible to the root user. Only the pub files are publicized
User5: when working with other keys how should i place them
User6: 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
User6: 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
User5: how to encrypt those key file using passphrase and ....how to use it from client
User6: ... are you asking how to set up public key authentication?
User5: no ...... the key files generated through passphrase.... i think you are also correct....
User5: when i do    -----      sftp 91.69.162.6 it gives me warning
User5: Warning: Permanently added '91.69.162.6' (RSA) to the list of known hosts.
User6: Yes, but only the first time
User5: can i control this
User6: what do you mean?
User5: it added me automatically.....you said i can check for the correct server
User6: Ah, well in your case it is configured to just accept the host key if it doesn't have it already
User5: geirha : while doing sftp it landed me directly as Root @ /root........wat can i do to do it as i want ?
User6: you mean you want to start in a different directory?
User6: sftp user@ip:/other/dir
User5: yaah and also as another user....
User6: right
User5: i did   sftp root@ip: /home/tester
User5: but igot..... Fetching /root/ to /home/tester/root             Cannot download non-regular file: /root/
User6: you added a space
User6: sftp user@ip:/path/here
User5: how can i create different SFTP / rooted directory for different users calling from diff. IPs
User6: that has to be one word
User6: That I'm afraid is out of my league
User5: yaah the space made the difference....thanks
User6: There's something called scponly that can limit users to a directory iirc.
User6: I don't think you can limit by ip though
User5: when i do .... ssh -X ip ......... it says New release 'natty' available. then goes to prompt....
User5: do i'v to download it first
User5: ok...... so the logins i made....were they as anonymous ?
User6: No, with ssh you must log in as a particual user
User6: 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
User5: oh i see....
User6: !scponly
User7: Factoid 'scponly' not found
User6: meh, worth a shot
User5: ok...
User5: so this whole session is the full tutorial for SSH and SFTP.... thanks to Geirha
User5: goodbye geirha...
User8: hi, did the old version ubuntu 8.10 or 9.10 live CD have stuff like smartctl or gparted installed?
User9: pretty sure it did
User9: User8 ^
User8: awww :(
User8: well I wish I had tried it.
User8: but anyhow the dumb bish took back her laptop, I doesn't have to waste my time on it.
ubuntu-beginners
Ubuntu IRC