Jump to content


Cowboy Denny

Recommended Posts

One of the applications I use to manage my linux/F5 boxes is iTerm2 (even though ZOC8 is my favorite but at work they want us to use iTerm2 because of costs reasons)

When you want to transfer files in iTerm2 you have to hold option key and click and drag the file to the SSH window which will automatically SCP the file up if you installed the shell integration which in short adds a command to your ~/.bash_profile and in every instance I have ever had I have to follow up with a line prior to that in order to set the hostname and so the last couple lines in the bash_profile looks like this

export iterm2_hostname=foo.example.com 
test -e ~/.iterm2_shell_integration.bash && source ~/.iterm2_shell_integration.bash || true
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...