mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-09-14 11:06:15 +05:00
refactor(multi-server): copy the right value
This commit is contained in:
parent
31a4a0814e
commit
cb16de63df
@ -179,7 +179,9 @@ export const SetupServer = ({ serverId }: Props) => {
|
||||
type="button"
|
||||
className="absolute right-2 top-2"
|
||||
onClick={() => {
|
||||
copy(server?.sshKey?.publicKey || "");
|
||||
copy(
|
||||
`echo "${server?.sshKey?.publicKey}" >> ~/.ssh/authorized_keys`,
|
||||
);
|
||||
toast.success("Copied to clipboard");
|
||||
}}
|
||||
>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user