Corrupt profile file?

When logging in with ssh, I’m getting an error relating to my .profile file. It appears it’s also preventing me from accessing the .env file. Can anyone tell what the cause of the issue might be?

image

Here’s what the file looks like: image

I was able to resolve this issue. I had to convert my file from dos to unix. To do that, I had to install dos2unix, then enter

dos2unix ~/.profile

problem solved!