Skip to content

Commit d467467

Browse files
committed
disable pseudo tty allocation in ssh
This will get rid of pseudo tty warnings.
1 parent 35db719 commit d467467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nixos-remote.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ timeout_ssh_() {
110110
timeout 10 ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$ssh_connection" "$@"
111111
}
112112
ssh_() {
113-
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$ssh_connection" "$@"
113+
ssh -T -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$ssh_connection" "$@"
114114
}
115115

116116
nix_options=(

0 commit comments

Comments
 (0)