Skip to content

Commit

Permalink
fix problem cause by auto-format
Browse files Browse the repository at this point in the history
  • Loading branch information
zhihao1021 committed May 14, 2024
1 parent e04d3b0 commit c2f753c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/routers/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async def get_setup_command(user: UserDepends) -> str:
ssh_data = await SSHData.get(user.id)
if ssh_data is None:
raise SSH_CONFIG_NOT_FOUND
command = f"ssh {ssh_data.username}@{SSH_HOST} -p {SSH_PORT} \"echo -e '\\n# Ticket Public Key\\n{
command = f"ssh {ssh_data.username}@{SSH_HOST} -p {SSH_PORT} \"echo -e '\\n# Ticket Public Key\\n{ \
ssh_data.public_key}\\n' >> ~/.ssh/authorized_keys\""
return command

Expand Down

0 comments on commit c2f753c

Please sign in to comment.