ssh bad configuration option when ssh the bastion server

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite












here is my config file



Host *
ForwardAgent yes

Host com-bastion
        Hostname com-bastion
        User hanumanth.rao
        IdentityFile ~/.ssh/id_rsa.pub
        LocalForward 127.0.0.1:11445 search.com:443
        LocalForward 127.0.0.1:11446 api.com:443
        LocalForward 127.0.0.1:10443 auth.com:10443
        LocalForward 127.0.0.1:10444 prop..com:10444


I am getting the following error



ssh -vv hanumanth.rao@com-bastion
OpenSSH_7.2p2 Ubuntu-4ubuntu2.4, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /home/hanu/.ssh/config
debug1: /home/hanumanth/.ssh/config line 1: Applying options for *
debug1: /home/hanumanth/.ssh/config line 4: Applying options for com-bastion
/home/hanumanth/.ssh/config: line 5: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202hostname
/home/hanumanth/.ssh/config: line 6: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202user
/home/hanumanth/.ssh/config: line 7: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202identityfile
/home/hanumanth/.ssh/config: line 8: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202localforward
/home/hanumanth/.ssh/config: line 9: Bad configuration option: 34220020234220020234220









share|improve this question



















  • 2




    It looks like you created / edited the file in a word processor program that has indented the lines with Unicode en-spaces (octal 342200202) rather than ASCII whitespace characters.
    – steeldriver
    Mar 8 at 19:57











  • It is in UTF-8 and and also tried saving in UTF-16, still the same. What is the correct format
    – hanu
    Mar 8 at 21:39














up vote
2
down vote

favorite












here is my config file



Host *
ForwardAgent yes

Host com-bastion
        Hostname com-bastion
        User hanumanth.rao
        IdentityFile ~/.ssh/id_rsa.pub
        LocalForward 127.0.0.1:11445 search.com:443
        LocalForward 127.0.0.1:11446 api.com:443
        LocalForward 127.0.0.1:10443 auth.com:10443
        LocalForward 127.0.0.1:10444 prop..com:10444


I am getting the following error



ssh -vv hanumanth.rao@com-bastion
OpenSSH_7.2p2 Ubuntu-4ubuntu2.4, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /home/hanu/.ssh/config
debug1: /home/hanumanth/.ssh/config line 1: Applying options for *
debug1: /home/hanumanth/.ssh/config line 4: Applying options for com-bastion
/home/hanumanth/.ssh/config: line 5: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202hostname
/home/hanumanth/.ssh/config: line 6: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202user
/home/hanumanth/.ssh/config: line 7: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202identityfile
/home/hanumanth/.ssh/config: line 8: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202localforward
/home/hanumanth/.ssh/config: line 9: Bad configuration option: 34220020234220020234220









share|improve this question



















  • 2




    It looks like you created / edited the file in a word processor program that has indented the lines with Unicode en-spaces (octal 342200202) rather than ASCII whitespace characters.
    – steeldriver
    Mar 8 at 19:57











  • It is in UTF-8 and and also tried saving in UTF-16, still the same. What is the correct format
    – hanu
    Mar 8 at 21:39












up vote
2
down vote

favorite









up vote
2
down vote

favorite











here is my config file



Host *
ForwardAgent yes

Host com-bastion
        Hostname com-bastion
        User hanumanth.rao
        IdentityFile ~/.ssh/id_rsa.pub
        LocalForward 127.0.0.1:11445 search.com:443
        LocalForward 127.0.0.1:11446 api.com:443
        LocalForward 127.0.0.1:10443 auth.com:10443
        LocalForward 127.0.0.1:10444 prop..com:10444


I am getting the following error



ssh -vv hanumanth.rao@com-bastion
OpenSSH_7.2p2 Ubuntu-4ubuntu2.4, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /home/hanu/.ssh/config
debug1: /home/hanumanth/.ssh/config line 1: Applying options for *
debug1: /home/hanumanth/.ssh/config line 4: Applying options for com-bastion
/home/hanumanth/.ssh/config: line 5: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202hostname
/home/hanumanth/.ssh/config: line 6: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202user
/home/hanumanth/.ssh/config: line 7: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202identityfile
/home/hanumanth/.ssh/config: line 8: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202localforward
/home/hanumanth/.ssh/config: line 9: Bad configuration option: 34220020234220020234220









share|improve this question















here is my config file



Host *
ForwardAgent yes

Host com-bastion
        Hostname com-bastion
        User hanumanth.rao
        IdentityFile ~/.ssh/id_rsa.pub
        LocalForward 127.0.0.1:11445 search.com:443
        LocalForward 127.0.0.1:11446 api.com:443
        LocalForward 127.0.0.1:10443 auth.com:10443
        LocalForward 127.0.0.1:10444 prop..com:10444


I am getting the following error



ssh -vv hanumanth.rao@com-bastion
OpenSSH_7.2p2 Ubuntu-4ubuntu2.4, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /home/hanu/.ssh/config
debug1: /home/hanumanth/.ssh/config line 1: Applying options for *
debug1: /home/hanumanth/.ssh/config line 4: Applying options for com-bastion
/home/hanumanth/.ssh/config: line 5: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202hostname
/home/hanumanth/.ssh/config: line 6: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202user
/home/hanumanth/.ssh/config: line 7: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202identityfile
/home/hanumanth/.ssh/config: line 8: Bad configuration option: 342200202342200202342200202342200202342200202342200202342200202342200202localforward
/home/hanumanth/.ssh/config: line 9: Bad configuration option: 34220020234220020234220






command-line ssh






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 at 19:50









steeldriver

63.2k1198167




63.2k1198167










asked Mar 8 at 19:47









hanu

111




111







  • 2




    It looks like you created / edited the file in a word processor program that has indented the lines with Unicode en-spaces (octal 342200202) rather than ASCII whitespace characters.
    – steeldriver
    Mar 8 at 19:57











  • It is in UTF-8 and and also tried saving in UTF-16, still the same. What is the correct format
    – hanu
    Mar 8 at 21:39












  • 2




    It looks like you created / edited the file in a word processor program that has indented the lines with Unicode en-spaces (octal 342200202) rather than ASCII whitespace characters.
    – steeldriver
    Mar 8 at 19:57











  • It is in UTF-8 and and also tried saving in UTF-16, still the same. What is the correct format
    – hanu
    Mar 8 at 21:39







2




2




It looks like you created / edited the file in a word processor program that has indented the lines with Unicode en-spaces (octal 342200202) rather than ASCII whitespace characters.
– steeldriver
Mar 8 at 19:57





It looks like you created / edited the file in a word processor program that has indented the lines with Unicode en-spaces (octal 342200202) rather than ASCII whitespace characters.
– steeldriver
Mar 8 at 19:57













It is in UTF-8 and and also tried saving in UTF-16, still the same. What is the correct format
– hanu
Mar 8 at 21:39




It is in UTF-8 and and also tried saving in UTF-16, still the same. What is the correct format
– hanu
Mar 8 at 21:39















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1013208%2fssh-bad-configuration-option-when-ssh-the-bastion-server%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1013208%2fssh-bad-configuration-option-when-ssh-the-bastion-server%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491