Fedora :: Ssh - Setting Up User And Host Keys - Change From F9 To F13?
Jun 28, 2010
I had my procedure down for setting up the keys on my various machines on my LAN when I was running Fedora9 - I just followed my own notes to set up 'ssh' on one of my machines that I am upgrading to Fedora13 and am finding discrepancies. I used to be able to set files up such that if I am on one machine, I could just ssh to another and I wouldn't be prompted for passwords or passphrases etc. Whatever I did before doesn't work any more (I keep being prompted for passwords/passphrases) - does anyone have a hint to point me in the right direction on how to set up the keys etc. - or what changed from F9 to F13? Also is the handling of ssh keys the same from F9 to F13? Reading the documentation it seems that on my old machines the man page says this:
Code:
<snip> that passphrase will be used to encrypt the private part of this file using 3DES.
Code:
<snip> that passphrase will be used to encrypt the
I am trying to set up a nfs server on my Fedora 11 host machine so that my virtual machines on the same host can access files on the host.The ip address of my host machine is 192.168.1.132The ip address of my virtual machine is 192.168.122.180I can ping successfully from host to virtual machine and vice versa.On the host machine, I have the following :1) Edited /etc/exports to add this one line./home/stardust496/files 192.168.122.180(rw,nohide)2) service rpcbind restart3) service nfs startOn the irtual machine, I do the following:1) mkdir /mnt/files2) mount 192.168.1.132:/home/startdust496/files /mnt/filesBut the mount call does not succeed. (It hangs for a while and then returns saying that it did not succeed)
Sound is my #1 issue on F11. Most of the time I can't change the system wide volume setting by pressing the function keys on my laptop (the volume indicator doesn't even show up). When that happens (and I havent't been able to find out why and under what conditions that happens) the volume applet on my panel also becomes useless. Useless meaning that I can slide the slider up and down with no effect on the audible volume. I can still change the volume within the individul applications (rhythmbox, totem, ...) with success. Adjusting the volume via gst-mixer or pavucontrol does also works as expected. It's really just the volume keys and the panel applet that refuse to cooperate.
About this system (pretty standard intel_hda, no problems with F10)code...
finishing ultimate debian fluxbox chromium mini distroand need to configure fluxbox keys like Crunchbang's conkyrc belowHow exactly do i do it without messing something up?
I started from a Fedora 14 installation with user specific desktop setting, i.e. background, menu items, and so on.The upgade worked fine, but while loggin on I found a new environment (Gnome 3) an no user specific desktop settings.How can I upgrade from F14 to F15 without losing my desktop settings and without insatlling Gnome 3?
I want to ssh, scp, git fetch, etc. without a password. I saw the previous questions, and closed ones regarding this issue, but the suggestion seems to be to use ssh keys. However, after setting up ssh keys, I am still asked for my password (it's not asking for my private key password; it's asking for my login password). How am I supposed to set this up so that it only uses my private key for authentication?
Ubuntu 10.10 Server is loaded. Openssh has been loaded.
I have multiple users which need access to server via ssh.
My impression from reading about ssh is that a key needs generated for each person. Thus, each key will have a passphrase that is unique to them.
In /etc/ssh/sshd_config, the default sshd_config suggest using:
%h/.ssh/authorized_keys
My assumption is %h is a variable that will allow the current user to use the public key stored in his home directory under the .ssh folder in a file called authorized_keys. Is their a command string that automatically populates the authorized_keys file?
I am surprised that even though there are a number of hidden (e.g. .****) files located in the home folder, there is not one automatically generated as .ssh. It appears I have to create that directory myself. I am especially surprised by this since it appears the instructions for generating a key seems to load the key in the home directory instead of proceeding to create a .ssh folder to store the keys in.
It is not clear, but it appears that the public key needs to be copied or appended to the authorized_keys file, but, using the scheme above, the public key needs to be copied or appended to each users authorized_keys file instead of appending all public keys to a single authorized_keys location.
It then appears that each persons authorized_keys file needs permissions set to 600.
It also appears that if I decide to use RSA instead of DSA, I would do the same thing above but would use authorized_keys2 file instead.
Why doesn't the home folder which gets automatically set up for each user automatically get a .ssh folder generated? i.e Why does it have to be created by hand? Does it need the same permission on the .ssh folder? ie 600?
My aim is to allow many to log on via ssh simultaneously and then allow many to simultaneously vnc into their respective gnome desktops.
I am trying to lock down a server using audit.rules. I intend to use ausearch to review certain entries from time to time. I noticed that it's possible to assign a "key" to each rule and then use `ausearch -k` to show only the records that have that key.Unfortunately, the key feature seems broken. I started with the following rule in audit.rules:
Code: -a always,exit -F arch=b64 -S open -S openat -F exit=-EACCES -k deny I do a `cat /etc/shadow` and a `ausearch -ts today -k deny` and it seems all went well.
I'm trying out various windows mgrs and I'd love to be able to preserve certain key mappings... ...but what's REALLY important are the MOUSE KEYS!!!!!!! I use the mouse left-handed. I can set that in Gnome or KDE easily, but if I go into, say Ratpoison, it's un-set again. Is there a system-wide (or as close to it as possible) mouse setting?
I have a ubuntu server , can advise if I want to change the network setting ( eg. IP address , gateway address etc ) , which one is the configuration file ? for example , if I want to change eth0 setting , what file I should update ?
I wanted to set up Computer Lab. loading Fedora 11 OS and one system acting as a Server to store Users(Student) Login Informations. When students do a programs, all programs (eg, C++ programs) files should be saved in the local fedora system but when login to the system, the login should be validate by a Server System.
I have installed Fedora 12 x86_64 and vsftpd. I would like to set up an user for FTP so that he/she could only view/edit files in one certain folder (the one that I set up). How would I go about doing that?
here I need to add user keys to ssh to allow logins remotely. I am using RHEL 6. How do I do this? I am vaguely aware I need to edit a file but not sure which.
I'm sorry if this has been posted already but I REALLY did look and couldn't find the same issue(s) addressed anywhere. Similar, but not similar enough, in my opinion, to barge in and switch the subject.
Ok, I have Apache httpd set up so I can use a public_html folder inside of my /home/username directory. Now, I'm about to take a web dev course that teaches JSP/Servlets for building web applications and I'd like to set my environment up so that I can execute .jsps from my web root (/home/username/public_html) just like I would a CGI or PHP script. I have a web host that will give me JSP support for a few extra bucks a month, but I'd rather do it locally... and free.
I have Tomcat installed and running wonderfully. The test page and all the examples work fine and execute immediately. But when I try to execute a .jsp file inside of my web root (/home/username/public_html) I just get the raw Java tags and plain-old HTML rendered in my browser. I pretty much knew that wouldn't work; that'd be way too easy. I just wanted to see what would happen.
I looked through all the tomcat ".conf" files I could find to see if it was similar to setting up httpd inside of my home directory, but I didn't have any luck. It's not a file permissions problem... I've been messing with web "scripts" long enough to check that the files are executable. All of the files needed (borrowed from the examples that come with Tomcat) were in their correct paths inside of my web root, as well. Added :8080 to the end of localhost (like you do to see the Tomcat test page(s) instead of the httpd test page) but that didn't help.
I scoured the web for directions but could only find one solution that was Ubuntu-specific (just install tomcat6-user-something-or-another.deb, which doesn't exist in the Fedora repos), then I looked around here, trying every search term that seemed reasonable to me, and I can't find anything.
I realize I can just write the code and put it in a directory that does allow these things to be executed (var/lib/tomcat6/blah-blah-blah/going-by-memory) and run them from there, but I'd like to be able to just keep all of my web files in the same place; a place where I have full permission to do whatever I want... my home directory public_html.
Is this possible (has to be, right?)? Is this a dumb idea to begin with (I'm prone)? What is the best way to develop JSP/Servlets without having to deal with permissions every time I want to put a new script in a directory outside of my home directory that's already set up to allow the execution of said script?
I needed to change the openSUSE's 11.2 static IP and now I am having trouble ssh'ing to it. Is there something I have to do to regenerate or update the ssh keys?
For example I want * key to print #. I searched some Web pages about it but information was too complicated and I should learn about it. Do I have to if I just wanna change some keys?
I'm trying to write a p2p file sharing program using python's built-in libraries. Everything is going well. The only thing is that i'd like to be able to use openssl public and private keys so only a host with the public key could access/decrypt the filesharing. I've gotten these libraries (httplib, basehttpserver, ssl, os) to work using just a pem file containing both the public and private keys but no success with them seperately. Can someone point me in the right direction or offer an alternative? PS, the goal of the project is to create an anonymous, decentralized, secure file sharing program. I want to be able to upload this to sourceforge so everyone can use it, if that's any incentive
On my laptop (HPDV7), using DHCP for network access, KDE4.
I use Network Manager to manage wired and wireless connectivity.
I also have Samba server running for connectivity to Windows machines.
My router runs DD-WRT.
How do I tell this HPDV7 system to propagate a Host Name up to the router?
In the DD-WRT status screen, I see Host Name as "*" associated with the assigned IP address.
I cannot, for example, ping my HPDV7 machine from my windows machine, I assume because the router (also providing DNS for my network) does not provide the name to address translation.
I CAN ping the IP address directly, and Samba connectivity from the Windows machine to HPDV7 works.
I am running Fedora 12 as Guest OS in VMware Player. I installed Fedora 12 by using a Prepackage VM . The root user name and p/w was supplied by the person who made this appliance. Is there way for me to change root user name and pw
I tried to change the name of the default user I created when I installed Fedora 14 to" Administrator". That apparently succeeded, but the login screen still shows the original name I specified. How do I go about changing that. don't need to change the home directory or anything else for that user.
I want to remap my keys for a game I'm playing, for example WASD instead of arrows to walk, r, f, c to act like f1, f2, f3 and so on. I'm aware of xmodmap, but I want to do this just for one application and be able to use hotkey to toggle between this script and default setting. I've been trying to use AutoKey, but I cannot force it to work just for specific app. On windows solution is AutoHotKey, but it won't work through wine.
I use Thunderbird on Ubuntu Linux and have just upgraded to Ubuntu 10 / Thunderbird 3. One of my gripes however is that Thunderbird uses a number of shortcut keys that have no secondary key requirements, for example, "Mark as Read" is M. Not ControlM. Just M. Worse, "Mark as Junk" is J. Which means I sometimes inadvertently mark messages as Junk.
How can I customize Thunderbird's shortcuts so, for example, "Mark as Junk" is ControlJ?
So I have sshopen-server installed on a few machines on my home network. I just rebuilt one of the machines and gave it the same hostname and the same ip address that it had before I rebuilt it. But when I go to connect to the machine now I get this error.
I want to reassign ctrl-shift-C and ctrl-shift-V. How is that done? (I'm using a Mac keyboard and I'd like to take advantage of the command key to avoid having to hit two modifiers.)
I want to set fn + Up or Down Arrow to change the brightness of the screen, instead of fn + F4 and F5. However, I don't know the command to do that, and I can't find it in Keyboard Shortcuts.I've seen something about editing a file in /var, but that requires root permissions.
I am trying to set up an Apache2 virtual host to test sites I make from my own computer.
I used this guide to set up my LAMP and vHost, The LAMP stack seems to be working great, but I run into some problems when I try to set up a vHost
As described in the guide I
1. made a new directory in my home folder /home/[myname]/www/test.dev to put my site in (it currently contains a simple index.html file as a test).
2. In /etc/apache2/sites-available I copied the file "default" and renamed it "test.dev"
3. I edited the content of "test.dev" to look like this:
Code:
4. I enabled the site using the command "sudo a2ensite test.dev". I then restarted apache "sudo /etc/init.d/apache2 reload".
5. I edited the hosts file: "sudo gedit /etc/hosts" to look like this:
Code:
6. I restarted apache "sudo /etc/init.d/apache2 reload".
Now if I enter "http://test.dev" in my firefox's adress bar I just get the apache2 "It works!" site. What is going wrong to cause firefox to show the "It works!" page rather then my own test site?