Debian :: Ssh Public Keys Not Working?

Jun 21, 2009

I have two computers running Debian Squeeze. I'm trying to set up the public keys for them so that I don't need to use passwords to log in. As far as I know, I did the same thing for both, however only one is working.Here is the connection output for eachBroken:

OpenSSH_5.1p1 Debian-5+b1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config


View 2 Replies


Ubuntu :: Use Openssl Public And Private Keys So Only A Host With The Public Key Could Access / Decrypt The Filesharing

Aug 2, 2011

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

View 2 Replies View Related

Ubuntu :: Removing Public Keys Not Available - Packages

Sep 23, 2010

I'm getting some errors while trying to do an update:How can I know which are the apps that are causing this, and how should I remove/update these?This is my /etc/apt/sources.list


deb lucid partner
deb-src lucid partner
deb lucid main
deb-src lucid main


View 4 Replies View Related

Networking :: SSH Chaining (tunnelling) With Public Keys

Sep 30, 2010

I've been searching for a while in forums about the issue I'm facing but couldn't find anything clear, or at least my net search skills are pretty lame. I'm facing a problem with prompted user password in a SSH chain connection when using authorized_keys.

I have: (1) Client - (2) Server - (3) Testing machine (testing machine is connect to Server via usb network)I've created keys for Client and Server, and updated authorized_keys in host machines with the key values: Testing machine has Server public key, and Server has Client public key.Until now everything is fine, if I try to connect via ssh the user password prompt is not shown since public key is found in authorized_keys.

For example: from Client: Code: ssh server Works fine, no password prompt.from Server: Code: ssh testing_machine Works fine, no password prompt.But if try to do that from Client only: from Client: Code: client:$ ssh server Works fine, no password prompt.from Client: Code: server:$ ssh testing_machine Asks for password.Bellow the verbose output from previous ssh command:

Code: ssh -v root(at)
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to [] port 22.

View 1 Replies View Related

Software :: Logging Into Server Using Public Keys?

Mar 12, 2011

I've got a slight issue with logging into my server using public keys.

It was working fine, until I had to rebuild my desktop machine. I had the key copied to the server, and passwordless logins where fine.

However now I have rebuilt my desktop, I cant get to the login.

So heres whats happend.

Rebuilt, server will not allow login. Remove and the server allows password based login.

On the server, removed authorized_keys and known_hosts. makes no difference. Server still disallows keyfile, but will allow password when id_rsa is not present on the client.

Heres a -v of the login chat with keyfile

michael@eve:~$ ssh -v server
OpenSSH_5.5p1 Debian-6, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to server [ser.ver.ip] port 22.


So, is there anyway of getting the server to forget the previous keys, it is remembering, As previousily said, I have completly removed the contents of ~/.ssh/ on both the clients and the server.

View 11 Replies View Related

Slackware :: Generate The Public / Private Keys?

Feb 27, 2011

I'm trying to set up my laptop to ssh into my home server, but I'm trying to find how to generate the public/private keys. I was able to do it in Slack 12.2 by just running ssh-keygen, but that command is not in 13.x.

View 2 Replies View Related

General :: Generating Public And Private Keys Using Putty Key Gen?

Jul 19, 2010

Another question though...i have a fedora 12 server set up and i have created 3 sudo users. I have created 3 putty keys (public and private) using putty key gen and basedn my research i was told to put the public keys in /home/"user"/.ssh/authorized_keys .I did that but when i tried to log on using the key...the server is saying "server refused key" could anyone assist in this issue

View 4 Replies View Related

OpenSUSE Network :: 11.3 - SSH Connections Using Public / Private Keys Rejected

Aug 10, 2010

My ISP has for a long time had a broken forward/reverese DNS so that my ADSL connection with static IP address resolves to a completely different IP address on a reverse query. This has not been a problem until I upgraded a remote server from 10.3 to 11.3 last weekend and now ssh connections from my ADSL connection to it using public/private keys are being rejected with the following message in /var/log/messages (IP addresses changed):
Aug 10 12:00:32 penguin1 sshd[1270]: Address maps to, but this does not map back to the address - Possible Break in Attempt!

But if I log in interactively with username & password, the connection succeeds. I've changed the StrictModes setting in sshd_config to 'no' but this hasn't resolved the problem. Obviously something in 11.3 is being stricter about this IP mismatch than it was in 10.2 (and no, the server is not using a firewall). There must be something I can change to make sshd more permissive? I've tried before to get my ISP to fix their problem but no luck. This needs to be sorted as a server at my home (which does not run SuSE) retrieves backups from the remote OpenSuSE 11.3 server every night using scp and these are now failing.

View 3 Replies View Related

Ubuntu Servers :: Setup The Necessary Public/private Keys To Use In FileZilla?

Jan 26, 2010

I installed OpenSSH via tasksel and am using Webmin for administration. I'd like to be able to SSH externally and want to setup the necessary public/private keys to use in FileZilla. In Webmin, under Servers > SSH Server I can click 'Host Keys' and see an RSA key. Is this the public or private key for my server? Do I need to copy this into a text file to import it into FileZilla on my remote PC (that I want to connect from)? Is that all that needs to be done (aside from opening the port on my router/firewall)? Or, is there an automated way to set this up via Webmin?

View 1 Replies View Related

Ubuntu Security :: Public / Private Keys On Multiple Servers?

Mar 26, 2010

At the moment we have one SSH server with the private key being on a usb flash drive, and the public key being on the server in authorized_keys2. Now that three more servers are coming online, should we generate new keys, so we have muliple private and public keys (one pair for each server), or use the same two keys to access all the servers

View 5 Replies View Related

Ubuntu Security :: Nautilus: Connect To Server Using Public Keys

Mar 31, 2010

I am using Nautilus to connect to an external server. Currently, I use password authentication, and all works fine. I just type sftp://SERVER and the connection is established after providing the login credentials. However, I changed the server to only accept Public Key Authentication and disabled password authentication, and as a consequence I could not login using Nautilus anymore. Is there some way to make this work?

View 9 Replies View Related

Programming :: Sending RSA Public/private Keys Into Calling Function?

Sep 9, 2010

My calling application will accept only strings and interger. we are replacing RSA bsafe library to openssl. using RSA bsafe, we have generated the private and public key in BER format. Then convert the keys, BER format into ASCII format to send the calling function. (these everything done by using RSA supplied bsafe library) same way i have to right using openssl..i m now able convert the RSA public and private key into DER format

rsa = RSA_generate_key(1024, 3, NULL, NULL);
size_t size;


View 1 Replies View Related

Debian :: Multimedia Keys Not Working After Upgrade

Jul 29, 2015

Today I did the following:

Code: Select allapt-get upgradeapt-get dist-upgrade

After a reboot the multimedia keys are not working anymore.

Also Code: Select allxev doesn't give any output when pressing the multimedia keys.

I've also checked the packages that were upgraded, but none seems (to me) to be changing anything in regard to key events.

Code: Select allStart-Date: 2015-07-29  09:17:10
Commandline: apt-get upgrade -V
Upgrade: libasan1:amd64 (4.9.3-2, 4.9.3-3), gdisk:amd64 (1.0.0-2, 1.0.0-3), cpp-4.9:amd64 (4.9.3-2, 4.9.3-3), libstdc++-4.9-dev:amd64 (4.9.3-2, 4.9.3-3), libpanel-applet0:amd64 (3.16.1-3, 3.16.1-4), python-debianbts:amd64 (1.12, 1.13),

[Code] ....

I'm on the Debian testing branch. Initially I used xfce, but am now using i3.

Why there are no events after the upgrade? Maybe I should downgrade some of the above packages?

View 2 Replies View Related

Debian Configuration :: Forward Traffic From Public IP To Another Public IP?

Mar 3, 2010

How can I forward all traffic from a public IP to another public IP. Let's say I have a first debian box named box1 with eth0 = and eth0:1 = and I want to forward all traffic from to "box2" located somewhere else over the internet and having for eth0 Both and are public IP ranges.

View 1 Replies View Related

Debian :: Getting Keyboard Volume Keys Working With Lxde

Jun 21, 2013

I'm having trouble getting keyboard volume keys working with lxde. I have tried a couple of methods found on another forum, but they did not work

View 4 Replies View Related

Debian Configuration :: Apt-get Autoremove - Sound Keys Not Working

Apr 20, 2010

apt-get suggetsed I should remove some packages I was no longer using. I've read the threads that explain this, but unfortunately I did that just now, not when I actually ran the damn command. I must say, however, that there were lots of things I wasn't actually using, so it was useful in a way. But there is a problem:

I have a Dell Inspiron 1525 and to get my sound keys working (the mute, volume up and volume down keys) I had to go to Settings-->Regional & Accessibility-->Keyboard Layout and there in Keyboard model I chose the option Dell Laptop/Notebook Inspiron 6xxx/8xxx. I know that's not exactly my model, but that made my sound keys work fine. Well, since I did the autoremove thing, that stopped working. I haven't got a clue what library was being used to get the sound keys working.

View 3 Replies View Related

Debian Configuration :: Volume Keys Not Working / Configuring Superkey

Jan 15, 2010

I'm having trouble with my keyboard functions on my netbook (eeePC 1005HA running squeeze/sid - specific build being the one available on December 23rd 2009 - hasn't been updated since installation) - specifically, some of the function keys seem to be off - i.e. when pressing Fn+key, only some actually work. The specific ones I'm having trouble with are:
Fn+F10 (mute)Fn+F11 (vol. down)Fn+F12 (vol. up)

As far as I can remember, they've never worked; at first I thought it wouldn't be an issue for me, having the volume panel, but the more time goes on, the more annoying it's becoming. Also, as it was a M$ machine at purchase, it has a Windoze key on it, which I'd like to configure to actually do something useful - preferably to open the main menu, if possible - but have so far failed to find any guides on how to do it. (Have Googled on multiple occasions, to no avail.)

View 11 Replies View Related

Debian Hardware :: Getting Lenny Working On Macbook / Can't Use Brightness Keys To Change Screen Brightness?

Feb 9, 2010

I'd been trying to get into Linux before I bought it so I figured that I would try to get it onto my new Mac so that I could use it wherever I am. I decided to try Debian Lenny 5.0.3 a whirl after reading about all the different distros available. I've successfully installed it and I can get to it with rEFIt, and I have quite a few things working such as the video drivers and wifi. However, I've had trouble getting it to a level where it'd be usable away from home. Here are the main problems I'm worried about:

1) I installed pommed but I still can't use the brightness keys to change the screen brightness. I'm not sure if there's some other workaround for this?

2) I tried some recommended power management packages (gnome-power-manager) but it doesn't seem to be accessible or functional right now. I don't have any way to control it or get to it that is obvious to me. Is an icon or anything supposed to appear on the task bar when you install or what? Getting some sort of power management on here is important because it gets really lousy battery life otherwise.

3) Being a Macbook, there's no right-click button. Multitouch would be really nice (two-finger scrolling!) but I'd be OK with ANY way to right-click with the touchpad. I have a wireless USB keyboard/mouse combo that works at home at least . . . right out of the box too!

4) I've seen some packages called the Mactel PPA, but they are made for Ubuntu. Since Debian and Ubuntu are so similar, is there any way to make those work on Lenny? I think that if I got those to work, I could fix some of the problems above. Or do I have to install Ubuntu?

5) I just noticed that the sound doesn't seem to work yet either.

View 4 Replies View Related

Debian Multimedia :: XF86Audio Multimedia Keys Not Working In Squeeze

Jun 23, 2011

I finally installed Squeeze on my laptop and found out that the XF86Audio multimedia keys do not work.

When I press them, they're correctly identified by xev but they do not produce the desired effect (raise/lower/mute volume, play/pause/stop/prev/next song in media players like Sonata).

Funnily enough though, they do work in Audacious, which has its own plugin to manage XF86Audio media keys.

So it's like the action of pressing these keys is not intercepted by the system and no event is triggered.

I think this might be due to a missing package or configuration but I have no idea where to look...

View 1 Replies View Related

Server :: SSH: Automated Login Via Public Key Not Working?

Aug 17, 2009

Run a script on ServerA which uses a ssh-connection to ServerB to execute a few commands on ServerB. As ServerB only allows login with username+password the whole stuff gets more complex. SSH provides key authentication enabling passwordless login as you probably know. So as stated in many tutorials I did the following:


ssh-keygen -t dsa
ssh-copy-id .ssh/ osr@

Trying to connect with

ssh osr@

should now be passwordless but I'm somehow still getting the prompt for the the output from ssh -vvv osr@


OpenSSH_4.1p1, OpenSSL 0.9.7d 17 Mar 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *


interesting are probably the following lines:


debug3: Not a RSA1 key file /users/osr/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'

View 11 Replies View Related

Ubuntu Networking :: OpenSSH Public Key Authentication Not Working?

May 22, 2010

I'm trying to get OpenSSH public key authentication to work. My server runs ubuntu. My client is a windows machine, and I'm using cygwin. I tried using the instructions here: [URL]... If I test it out using this line: ssh -v -v -v -o PreferredAuthentications=publickey

I get this:
debug3: no such identity: /home/Julie/.ssh/identity
debug1: Offering public key: /home/Julie/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug3: Wrote 368 bytes for a total of 1477


View 2 Replies View Related

Ubuntu Servers :: Samba Public Share Not Working?

Jun 25, 2010

# Sample configuration file for the Samba suite for Debian GNU/Linux.


View 5 Replies View Related

Ubuntu Servers :: Gitosis Installation Of Public Key Not Working

Dec 5, 2010

I resolved the issue, see post #4.I've installed gitosis on a home server running Kubuntu Maverick, but am unable to get the ssh public key to work. When I try to clone, I get a password prompt.I entered a password for the key file. Then I copied the resulting public key to the server's tmp directory:

View 3 Replies View Related

Ubuntu :: Ad Hoc Not Working - (network Isn't Created For Public Access)?

Aug 3, 2011

Today I was creating an Ad Hoc network for sharing internet connection and I realized it is not working. I have done it before on Ubuntu 10.10, now on 11.04 it just doesn't work. I create a new connection (Create New Wireless Network) and it is never visible to the other computers (I checked the IPv4 settings, it was Shared to Other Computers). I really do not know what is going on, my wireless card is working perfectly fine (I can connect to other network and on additional driver it is there with a green circle).

View 9 Replies View Related

General :: Mv: Cannot Stat `/public/public/clamscans/*.txt': No Such File Or Directory

Sep 24, 2010

I run the following file with the >log.log redirector and it does not capture errors.

echo ************************BEGIN LOG******************************
date +"%m/%d/%Y %H:%M:%S $HOSTNAME"
cp -f /scripts/original/clamscans.log /scripts


The following errors show up when I run from the file from the term window, but are not written to log.log:

tar: /public/public/clamscans/*.txt: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
mv: cannot stat `/public/public/clamscans/*.txt': No such file or directory

I know with windows you can add the 2>&1 to capture error data. Is there such a thing for Linux?

View 2 Replies View Related

Ubuntu Networking :: Public Files/network Sharing Not Working?

Mar 21, 2011

So I want to put some of my folders on my network. I open up nautilus and go to my home folder and right click -> properties-> share and then selected share this folder, made it so that others could modify stuff on it and have guest access (which is what I want), and changed the share name to "home". Then I clicked create share. I then went to Places->Network->******'s public files on [the name of my computer]. But then some stupid error message popped up saying:

"DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)"

View 7 Replies View Related

Fedora :: How To Map Keys To Get Certain Functions That I'm Used To Working

Sep 7, 2009

I just bought an Apple (intl.) keyboard because of its stylish look and weight but I can't figure out how to map keys to get certain functions that I'm used to working.
Particularly Alt+Ctl+F1~6 when wanting to switch to regular terminal and print screen.
Is there a tutorial out there that explains how to map keys?

View 3 Replies View Related

Ubuntu :: End And Home Keys Not Working?

Feb 11, 2010

my laptop has a numberpad on the right side. on it, the 7 key is home, and the 1 key is end. the normal home and end keys above it work, but these do not. is there a way I can map the home and end functionality to them?

View 2 Replies View Related

Ubuntu :: SSH Without Password Not Working With Keys

Dec 21, 2010

I have two machines at home. I am trying to setup the ssh server on the server machine so I can connect from the client machine with no password (keys authentication).Well, that shouldn't have been too hard, but the thing is the server user account I want to be able to connect to with keys auth has no password (that is actually the reason I want to setup keys auth). I have done everything in this guide (URL...), both alternatives, but with no success, because at some time I have to ssh the server to the user account that has no password (either with scp or ssh-copy-id) and it fails.

My question is: since I have root access on the server machine, can't I copy manually the public key from the client to the server? (doing manually what ssh-copy-id actually does).Or, maybe there is another way, to change the password on the passwordless account. I have tried with # su <acct>, then passwd, but it doesn't work (asks me for the old password). I was thinking about editing /etc/shadow manually, and inserting the hash in the password field for that account (it currently has an ! ). Would that work?

View 4 Replies View Related

Ubuntu :: Most Keys Not Working In Mavrick ?

Jan 9, 2011

My setup is Asus EEE701SD running Maverick installed off the Live CD about 6 weeks ago. Everything worked fine until yesterday when I lost most of the keys, but not Ctrl, Alt, Home symbol, Menu symbol.

Keyboard is physically fine as it works correctly in SystemrecCD and when I boot into a recovery root shell, but not when I am running Xorg under Maverick. Keyboard layout is default US (I an in Australia). I tried using Onboard, but even that wouldn't input keystrokes into anything. I tried going in with VNC and that wouldn't work either. It seems this might be an Xorg problem, but why would it happen suddenly, seemingly without any provocation; obviously something has changed, but what... I have removed and reinstalled xserver--xorg using apt-get in a root shell and have also run dpkg-reconfigure xserver-xorg, but nothing has changed.

View 8 Replies View Related

Copyrights 2005-15, All rights reserved