Remove trailing quotation

This commit is contained in:
Elizabeth Hunt 2023-02-12 01:04:38 -07:00
parent 7568b61444
commit e088d1f8cd
Signed by: simponic
GPG Key ID: 52B3774857EB24B1

View File

@ -6,7 +6,7 @@ import { useAuthContext } from "../context/auth_context";
const generateSSHConfig = (username) => `Host chessh const generateSSHConfig = (username) => `Host chessh
Hostname ${process.env.REACT_APP_SSH_SERVER} Hostname ${process.env.REACT_APP_SSH_SERVER}
Port ${process.env.REACT_APP_SSH_PORT} Port ${process.env.REACT_APP_SSH_PORT}
User ${username.includes(" ") ? '"' + username + '"' : username}" User ${username.includes(" ") ? '"' + username + '"' : username}
PubkeyAuthentication yes PubkeyAuthentication yes
`; `;