---
name: "lessdisks-keycopy"
section: "8"
platform: "linux"
package: "lessdisks"
version: "0.5.3cvs.20040906-16"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/lessdisks-keycopy"
---

# lessdisks-keycopy(8)

copy server host keys into /root/.ssh/known\_hosts for lessdisks root.

## NAME

lessdisks-keycopy - copy server host keys into /root/.ssh/known\_hosts for lessdisks root.

## SYNOPSIS

**lessdisks-keycopy**

## DESCRIPTION

copies the [**ssh**(1)](/ssh/1.md) host keys ( */etc/ssh/ssh\_host\_rsa\_key.pub /etc/ssh\_host\_dsa\_key.pub* ) into the  */root/.ssh/known\_hosts* file of the lessdisks [**chroot**(8)](/chroot/8.md).

## FILES

*/root/.ssh/known\_hosts* */etc/ssh/ssh\_host\_rsa\_key.pub* */etc/ssh/ssh\_host\_dsa\_key.pub*

## BUGS

it makes host key entries for "disk", "xapp" and the hostname of the server. it should have some way of definining which keys to tie to which hosts.

## AUTHOR

Vagrant Cascadian \<vagrant@freegeek.org\>

## SEE ALSO

[**chroot**(8)](/chroot/8.md), [**ssh**(1)](/ssh/1.md)
