Hi,
I'm getting the below error when trying to connect to FTP.
I am using my pythonanywhere username and connecting to ssh.pythonanywhere.com as SFTP.
From the support page I can see that this error can be to do with the bashrc file however I haven't changed this at all so not sure why its not working?
Error: Connection timed out after 20 seconds of inactivity
Error: Could not connect to server
bashrc file is below and also below is the .profile file:
# Load up standard site-wide settings.
source /etc/bashrc
#remove duplicate entries from history
export HISTCONTROL=ignoreboth
# Show current git branch in prompt.
function parse_git_branch {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
LIGHT_GREEN="\[\033[1;32m\]"
LIGHT_GRAY="\[\033[0;37m\]"
PS1="$LIGHT_GRAY\$(date +%H:%M) \w$YELLOW \$(parse_git_branch)$LIGHT_GREEN\$ $LIGHT_GRAY"
# Load virtualenvwrapper
source virtualenvwrapper.sh &> /dev/null
.profile file
source virtualenvwrapper.sh &> /dev/null
source ~/.bashrc
Could anyone please advise it would be much appreciated.
Thanks