Reusing ssh keys on a new installation, was Re: OpenSSH: cause of random kex_exchange_identification errors?

2022-02-02 Thread David Wright
On Wed 02 Feb 2022 at 14:28:40 (-0500), Greg Wooledge wrote: > On Wed, Feb 02, 2022 at 02:21:08PM -0500, gene heskett wrote: > > When I change something, like rebooting the rpi4 running my big Sheldon > > lathe, from debian buster to debian bullseye, the keyfile changes, and I > > get an explicit

[SOLVED] Re: Subject: network-console installation and ssh keys

2015-04-19 Thread David Wright
Quoting Christian Seiler (christ...@iwakd.de): > > - Host temporarily has a different key because of a running > installation (or rescue CD or so), but will have the right > keys again in the future. I have the following alias defined: > > alias sshnv='ssh -o GlobalKnownHostsFile=/dev/nul

Re: Subject: network-console installation and ssh keys

2015-04-15 Thread Liam O'Toole
On 2015-04-15, Paul E Condon wrote: > On 20150414_2134+, Liam O'Toole wrote: >> Put the following in ~/.ssh/config: >> >> Host desk >> UserKnownHostsFile /dev/null >> StrictHostKeyChecking no >> >> See the man page of ssh_config for details. > > I think this will silence the war

Re: Subject: network-console installation and ssh keys

2015-04-15 Thread Paul E Condon
On 20150414_2134+, Liam O'Toole wrote: > On 2015-04-14, David Wright wrote: > > I like the new Network Console option in the installer. > > However, when I reinstall Debian onto a machine called, say, desk > > select the necessary options, type in the password for the > > installer session, an

Re: Subject: network-console installation and ssh keys

2015-04-14 Thread Christian Seiler
On 04/14/2015 10:31 PM, David Wright wrote: I like the new Network Console option in the installer. However, when I reinstall Debian onto a machine called, say, desk select the necessary options, type in the password for the installer session, and then sit back with a machine called, lap, when I

Re: Subject: network-console installation and ssh keys

2015-04-14 Thread Liam O'Toole
On 2015-04-14, David Wright wrote: > I like the new Network Console option in the installer. > However, when I reinstall Debian onto a machine called, say, desk > select the necessary options, type in the password for the > installer session, and then sit back with a machine called, lap, > when I

Subject: network-console installation and ssh keys

2015-04-14 Thread David Wright
I like the new Network Console option in the installer. However, when I reinstall Debian onto a machine called, say, desk select the necessary options, type in the password for the installer session, and then sit back with a machine called, lap, when I type ssh installer@desk I get the usual @

Re: gpg signature & ssh keys

2012-07-25 Thread Mika Suomalainen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, On 25.07.2012 15:50, Umarzuki Mochlis wrote: > hi, > > can my gpg signature & ssh keys (public & private) be imported to > a new installation of debian just by synching my home folder (same > user as in the new system)?

Re: gpg signature & ssh keys

2012-07-25 Thread Umarzuki Mochlis
2012/7/25 Gaël DONVAL : > >> can my gpg signature & ssh keys (public & private) be imported to a >> new installation of debian just by synching my home folder (same user >> as in the new system)? >> > > Yes. Your public and private ssh keys should be in ~/.

Re: gpg signature & ssh keys

2012-07-25 Thread Gaël DONVAL
> can my gpg signature & ssh keys (public & private) be imported to a > new installation of debian just by synching my home folder (same user > as in the new system)? > Yes. Your public and private ssh keys should be in ~/.ssh Your gpg keys should be in ~/.gnupg As long a

Re: gpg signature & ssh keys

2012-07-25 Thread shthead
On 25/07/2012 8:50 PM, Umarzuki Mochlis wrote: hi, can my gpg signature & ssh keys (public & private) be imported to a new installation of debian just by synching my home folder (same user as in the new system)? thanks. The GPG keys should be storedin ~/.gpg and the SSH keys in ~/.s

gpg signature & ssh keys

2012-07-25 Thread Umarzuki Mochlis
hi, can my gpg signature & ssh keys (public & private) be imported to a new installation of debian just by synching my home folder (same user as in the new system)? thanks. -- Regards, Umarzuki Mochlis http://debmal.my -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.o

Re: midnight commander and ssh keys

2011-12-24 Thread hvw59601
Greg Donoghue wrote: On Sat, Dec 24, 2011 at 11:28:21AM +0100, Raffaele Morelli wrote: Hi, how can I use mc with ssh rssa/dsa keys? regards Once you've generated your keys and installed them, mc will use them to connect. In mc press F9 and select "Shell link..." Good info. Thanks

Re: midnight commander and ssh keys

2011-12-24 Thread Greg Donoghue
On Sat, Dec 24, 2011 at 11:28:21AM +0100, Raffaele Morelli wrote: >Hi, >how can I use mc with ssh rssa/dsa keys? >regards Once you've generated your keys and installed them, mc will use them to connect. In mc press F9 and select "Shell link..." -- Greg Donoghue g...@gmx.us -- To U

midnight commander and ssh keys

2011-12-24 Thread Raffaele Morelli
Hi, how can I use mc with ssh rssa/dsa keys? regards -r -- *L'unica speranza di catarsi, ammesso che ne esista una, resta affidata all'istinto di ribellione, alla rivolta non isterilita in progetti, alla protesta violenta e viscerale.*

Re: Cron and ssh keys

2010-09-20 Thread Bob Proulx
T o n g wrote: > How do you handle situations that you need to do rsync etc ssh related > tasks in cron? When running under cron you cannot use a passphrase on your ssh private key. Since no passphrase can be used you have to ask if you are working in an NFS environment or not. If under NFS th

Re: SSH Keys and Debian

2008-05-23 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2008-05-23 19:34, Ed Curtis wrote: > I have two deb machines I ssh to constantly on our lan. I had previously > set up ssh-keys on these machines to rsync files to one machine. This > morning I ran the ssh update the system update wanted

SSH Keys and Debian

2008-05-23 Thread Ed Curtis
I have two deb machines I ssh to constantly on our lan. I had previously set up ssh-keys on these machines to rsync files to one machine. This morning I ran the ssh update the system update wanted me to run and can't ssh to this machine without using a password. I've rerun the key

Re: Updating known_hosts SSH Keys

2007-01-08 Thread Roberto C. Sanchez
On Mon, Jan 08, 2007 at 09:11:28PM -0500, Grok Mogger wrote: > Hey, > > I was recently connecting from one host to another via ssh, and > the remote host's host key had changed. I was expecting this > change (I made it myself in fact), so naturally I just wanted to > connect anyway, despite th

Updating known_hosts SSH Keys

2007-01-08 Thread Grok Mogger
Hey, I was recently connecting from one host to another via ssh, and the remote host's host key had changed. I was expecting this change (I made it myself in fact), so naturally I just wanted to connect anyway, despite the warning that SSH gave me, and update my known_hosts file. I could n

Re: ssh keys

2006-02-06 Thread Karsten M. Self
on Tue, Jan 24, 2006 at 03:44:34PM -0800, Paul Johnson ([EMAIL PROTECTED]) wrote: > On Tuesday 24 January 2006 08:36, Juraj Fedel wrote: > > On Mon, Jan 23, 2006 at 04:26:47PM -0300, Jos? Pablo Ezequiel Fern?ndez > wrote: > > > On Mon 23 Jan 2006 15:53, Andreas Janssen wrote: > > > > Are root log

Re: ssh keys

2006-01-24 Thread Paul Johnson
On Tuesday 24 January 2006 08:36, Juraj Fedel wrote: > On Mon, Jan 23, 2006 at 04:26:47PM -0300, Jos? Pablo Ezequiel Fern?ndez wrote: > > On Mon 23 Jan 2006 15:53, Andreas Janssen wrote: > > > Are root logins allowed on the server? What does the server's auth.log > > > say? > > > > That was it, th

Re: ssh keys

2006-01-24 Thread Andreas Janssen
Hello Juraj Fedel (<[EMAIL PROTECTED]>) wrote: >> [ssh server] > How do you enable root login if they are disallowed? > Juraj Change "PermitRootLogin no" to "PermitRootLogin yes" in your /etc/ssh/sshd_config. However I recommend you don't log in as root directly, instead only allow logins for u

Re: ssh keys

2006-01-24 Thread Juraj Fedel
On Mon, Jan 23, 2006 at 04:26:47PM -0300, Jos? Pablo Ezequiel Fern?ndez wrote: > On Mon 23 Jan 2006 15:53, Andreas Janssen wrote: > > Are root logins allowed on the server? What does the server's auth.log > > say? > That was it, thank you! > -- > Jos? Pablo Ezequiel Fern?ndez How do you enable roo

Re: ssh keys

2006-01-23 Thread José Pablo Ezequiel Fernández
On Mon 23 Jan 2006 15:53, Andreas Janssen wrote: > Are root logins allowed on the server? What does the server's auth.log > say? That was it, thank you! -- José Pablo Ezequiel Fernández pgpjf18814PFJ.pgp Description: PGP signature

Re: ssh keys

2006-01-23 Thread Andreas Janssen
Hello José Pablo Ezequiel Fernández (<[EMAIL PROTECTED]>) wrote: > I've installed my ssh public keys to various servers. All worked > untill a case which didn't work. A server named dev, I installed the > key on [EMAIL PROTECTED]:/home/pupeno/.ssh/authorized_keys and it worked (I > can connect to

ssh keys

2006-01-23 Thread José Pablo Ezequiel Fernández
Hello I've installed my ssh public keys to various servers. All worked untill a case which didn't work. A server named dev, I installed the key on [EMAIL PROTECTED]:/home/pupeno/.ssh/authorized_keys and it worked (I can connect to [EMAIL PROTECTED] using the key), I copied the same key to /roo

Re: ssh keys from two behind-the-firewall boxes?

2003-02-01 Thread nate
sean finney said: > right, but if they're storing a passphraseless key on another machine to > which someone else has root, that someone else now has access to your > machine too. if that's your root key... yes thats a good point, forgot about that. I can't remember the last time I had access to

Re: ssh keys from two behind-the-firewall boxes?

2003-02-01 Thread sean finney
On Sat, Feb 01, 2003 at 12:57:08PM -0800, nate wrote: > will trillich said: > > > at what point are the passphrases required? if passwordless > > login/scp is the objective, where are the passphrases used? > > ssh-agent is designed to prompt you for your passphrase, then > it stores it in memory,

Re: ssh keys from two behind-the-firewall boxes?

2003-02-01 Thread nate
will trillich said: > at what point are the passphrases required? if passwordless > login/scp is the objective, where are the passphrases used? ssh-agent is designed to prompt you for your passphrase, then it stores it in memory, and automatically 'inputs' it when you connect. That is until you l

Re: ssh keys from two behind-the-firewall boxes?

2003-02-01 Thread will trillich
On Sat, Feb 01, 2003 at 07:35:02AM -0800, Bill Moseley wrote: > On 1 Feb 2003, Jean-Marc V. Liotier wrote: > > > # On the local host : > > ssh-keygen -t dsa -f id_dsa > > # When prompted for a password, just press 'enter'. > > scp id_dsa.pub [EMAIL PROTECTED]:~/ > > I would strongly recommend usi

Re: ssh keys from two behind-the-firewall boxes?

2003-02-01 Thread Bill Moseley
On 1 Feb 2003, Jean-Marc V. Liotier wrote: > # On the local host : > ssh-keygen -t dsa -f id_dsa > # When prompted for a password, just press 'enter'. > scp id_dsa.pub [EMAIL PROTECTED]:~/ I would strongly recommend using a good pass phrase and ssh-agent. If someone gets your password less priva

Re: ssh keys from two behind-the-firewall boxes?

2003-01-31 Thread Colin Watson
On Sat, Feb 01, 2003 at 02:57:01AM +0100, Jean-Marc V. Liotier wrote: > On Sat, 2003-02-01 at 01:55, Matthew Daubenspeck wrote: > > Does anyone have a FAQ on how to set this all up? > > Below is what worked for me. I think that it may vary according to the > version of the SSH protocol that you wa

Re: ssh keys from two behind-the-firewall boxes?

2003-01-31 Thread sean finney
On Fri, Jan 31, 2003 at 05:39:22PM -0800, nate wrote: > SSH v2 is not *too* much different. though it's been a while > since I tried it with DSA authentication, last time I tried it, > it was a real bitch to get working(this was about a year ago) erm, iirc it's the same thing, only if you're using

Re: ssh keys from two behind-the-firewall boxes?

2003-01-31 Thread Jean-Marc V. Liotier
On Sat, 2003-02-01 at 01:55, Matthew Daubenspeck wrote: > On Fri, Jan 31, 2003 at 06:08:31PM -0600, will trillich wrote: > > > doing the ssh-keygen thing works like a charm; you copy your > > private keys to the remote box and then just slap it into your > > ~/.ssh/authorized_keys file and poof, no

Re: ssh keys from two behind-the-firewall boxes?

2003-01-31 Thread nate
Matthew Daubenspeck said: > Does anyone have a FAQ on how to set this all up? i have a real quick basic thing with SSH v1 on my mrtg page: http://howto.aphroland.de/HOWTO/MRTG/IPFWCountersWithMRTG SSH v2 is not *too* much different. though it's been a while since I tried it with DSA authenticat

Re: ssh keys from two behind-the-firewall boxes?

2003-01-31 Thread Matthew Daubenspeck
On Fri, Jan 31, 2003 at 06:08:31PM -0600, will trillich wrote: > this is probably item #2 of the really-obvious-faq that i'm not > yet aware of, so i'll go ahead and ask because i haven't taken > the opportunity to look like a goober in, oh, about half a day, > now... > > doing the ssh-keygen thin

Re: ssh keys from two behind-the-firewall boxes?

2003-01-31 Thread Osamu Aoki
Hi, On Fri, Jan 31, 2003 at 06:08:31PM -0600, will trillich wrote: > this is probably item #2 of the really-obvious-faq that i'm not > yet aware of, so i'll go ahead and ask because i haven't taken > the opportunity to look like a goober in, oh, about half a day, > now... > > doing the ssh-keygen

Re: ssh keys from two behind-the-firewall boxes?

2003-01-31 Thread nate
will trillich said: > it's ip-based, isn't it? in my experience it is key based. though I think with ssh2 you have a more extensive set of options available to you to restrict access further, perhaps to the IP level. but if you just have the keys themselves in ~/.ssh/authorized_keys it should be

ssh keys from two behind-the-firewall boxes?

2003-01-31 Thread will trillich
this is probably item #2 of the really-obvious-faq that i'm not yet aware of, so i'll go ahead and ask because i haven't taken the opportunity to look like a goober in, oh, about half a day, now... doing the ssh-keygen thing works like a charm; you copy your private keys to the remote box and then

Re: ssh keys keep changing.

2000-02-26 Thread Adam Shand
> > On one machine, I get this message everytime I connect to it. I have > > tried to reinstall ssh via apt-get remove/install ssh, > > and I still get the error message everytime. > > Reinstalling ssh won't solve the problem as some simple reading would > make clear. See below. actually if y

Re: ssh keys keep changing.

2000-02-25 Thread aphro
On Fri, 25 Feb 2000, John Davis wrote: davis >Hello davis > davis >I keep getting HOST IDENTIFICATION HAS CHANGED! errors. How do I prevent davis >these errors and how do I ensure davis >that my machines are not under attack from someone? remove the file ~/.ssh/known_hosts or edit it to remove

Re: ssh keys keep changing.

2000-02-25 Thread Nathan E Norman
On Fri, Feb 25, 2000 at 11:22:35AM -0500, John Davis wrote: > Hello > > I keep getting HOST IDENTIFICATION HAS CHANGED! errors. How do I prevent > these errors and how do I ensure > that my machines are not under attack from someone? > > On one machine, I get this message everytime I connect to

ssh keys keep changing.

2000-02-25 Thread John Davis
Hello I keep getting HOST IDENTIFICATION HAS CHANGED! errors. How do I prevent these errors and how do I ensure that my machines are not under attack from someone? On one machine, I get this message everytime I connect to it. I have tried to reinstall ssh via apt-get remove/install ssh, and I