parent
49c046cb3d
commit
4ebb931490
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ def set_ssh(*arguments) -> None:
|
||||||
home = Path("~").expanduser()
|
home = Path("~").expanduser()
|
||||||
#
|
#
|
||||||
ssh = home / ".ssh"
|
ssh = home / ".ssh"
|
||||||
ssh.mkdir(parents=True)
|
ssh.mkdir(exist_ok=True, parents=True)
|
||||||
ssh.chmod(0o700)
|
ssh.chmod(0o700)
|
||||||
#
|
#
|
||||||
key = ssh / f"id_{ssh_type}"
|
key = ssh / f"id_{ssh_type}"
|
||||||
|
|
Loading…
Reference in a new issue