Comment Comment by x3n0ph3n3 cat | sudo tee somefile > /dev/null is still my favorite way to paste text into an ssh session and save it to a protected file. parent x3n0ph3n3 2 years ago